move font config

This commit is contained in:
Max Känner 2024-12-29 14:54:41 +01:00
parent 2766a80c70
commit 4ca8b75fa4
2 changed files with 16 additions and 7 deletions

View File

@ -57,13 +57,6 @@
})) }))
]; ];
fonts.packages = with pkgs; [
nerdfonts
montserrat
];
# List services that you want to enable:
# fingerprint unlock # fingerprint unlock
services.fprintd.enable = true; services.fprintd.enable = true;

View File

@ -66,6 +66,11 @@ in {
swayidle # automatic screen locking after system idle time swayidle # automatic screen locking after system idle time
foot # terminal foot # terminal
keepassxc # used for secrets instead of gnome-keyring keepassxc # used for secrets instead of gnome-keyring
# fonts
noto-fonts
nerd-fonts
fira
]; ];
home.sessionVariables = { home.sessionVariables = {
@ -265,5 +270,16 @@ in {
show-fai8led-attempts = true; show-fai8led-attempts = true;
}; };
}; };
# install fonts
fonts.fontconfig = {
enable = true;
defaultFonts = {
emoji = ["Noto Color Emoji"];
monospace = ["FiraCode Nerd Fonts" "FiraMono Nerd Font" "FiraMono" "NotoMono Nerd Font"];
sansSerif = ["Fira Sans" "NotoSans Nerd Font"];
serif = ["NotoSerif Nerd Font"];
};
};
}; };
} }