move fonts to options

This commit is contained in:
jacekpoz 2024-02-17 19:59:50 +01:00
parent 3ed8723607
commit 3f7796b4e9
No known key found for this signature in database
GPG key ID: 94E812A8B12AAE3C
2 changed files with 15 additions and 11 deletions

View file

@ -103,17 +103,6 @@
security.polkit.enable = true; security.polkit.enable = true;
fonts.packages = with pkgs; [
material-design-icons
(nerdfonts.override { fonts = [
"JetBrainsMono"
]; })
noto-fonts
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-emoji
];
users.users.${config'.username} = { users.users.${config'.username} = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "libvirtd" ]; extraGroups = [ "wheel" "networkmanager" "libvirtd" ];

15
options/desktop/fonts.nix Normal file
View file

@ -0,0 +1,15 @@
{
pkgs,
...
}: {
fonts.packages = with pkgs; [
material-design-icons
(nerdfonts.override { fonts = [
"JetBrainsMono"
]; })
noto-fonts
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-emoji
];
}