chore: move font to separate function

This commit is contained in:
Nydragon 2024-06-25 14:47:18 +02:00
parent bb7342d876
commit d2a1d545a8
No known key found for this signature in database
GPG key ID: 14AA30A865EA1209
3 changed files with 12 additions and 9 deletions

View file

@ -229,15 +229,6 @@ in
brightnessctl brightnessctl
]; ];
fonts = with pkgs; {
packages = [
(nerdfonts.override { fonts = [ "Noto" ]; })
d2coding
jigmo
last-resort
];
};
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.
# programs.mtr.enable = true; # programs.mtr.enable = true;

View file

@ -3,6 +3,7 @@
imports = [ imports = [
./locale.nix ./locale.nix
./networking.nix ./networking.nix
./fonts.nix
./nix ./nix
./programs/firefox.nix ./programs/firefox.nix
./programs/thunderbird.nix ./programs/thunderbird.nix

11
modules/fonts.nix Normal file
View file

@ -0,0 +1,11 @@
{ pkgs, ... }:
{
fonts = with pkgs; {
packages = [
(nerdfonts.override { fonts = [ "Noto" ]; })
d2coding
jigmo
last-resort
];
};
}