Skip to content

Commit

Permalink
fix font with stylix, cursor still broken :(
Browse files Browse the repository at this point in the history
  • Loading branch information
henrispriet committed May 28, 2024
1 parent f8d4475 commit 2ae3c2f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
1 change: 1 addition & 0 deletions home-manager/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
gg = "${pkgs.lazygit}/bin/lazygit";
};

historyControl = ["erasedups"];
historyIgnore = [
"ls"
"cd"
Expand Down
31 changes: 15 additions & 16 deletions nixos/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -124,23 +124,22 @@
# TODO: move to stylix file/folder
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml";
stylix.image = ./spaceship.jpg;

# Fonts
fonts = {
enableDefaultPackages = true;
packages = with pkgs; [
intel-one-mono
(nerdfonts.override {fonts = ["IntelOneMono"];})
];

fontDir.enable = true;
fontconfig = {
defaultFonts = {
serif = ["Intel One Mono"];
sansSerif = ["Intel One Mono"];
monospace = ["Intel One Mono"];
};
stylix.fonts = {
# packages = with pkgs; [
# (nerdfonts.override {fonts = ["IntelOneMono"];})
# ];

monospace = {
package = pkgs.nerdfonts.override {fonts = ["IntelOneMono"];};
name = "Intone Mono NF";
};
# serif = config.stylix.fonts.monospace;
# sansSerif = config.stylix.fonts.monospace;
# emoji = config.stylix.fonts.monospace;
};
stylix.cursor = {
package = pkgs.bibata-cursors;
name = "Bibata Modern Classic";
};

# Some programs need SUID wrappers, can be configured further or are
Expand Down

0 comments on commit 2ae3c2f

Please sign in to comment.