diff --git a/hosts/niks/configuration.nix b/hosts/niks/configuration.nix index 23e56e34..de1823dc 100644 --- a/hosts/niks/configuration.nix +++ b/hosts/niks/configuration.nix @@ -103,17 +103,6 @@ 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} = { isNormalUser = true; extraGroups = [ "wheel" "networkmanager" "libvirtd" ]; diff --git a/options/desktop/fonts.nix b/options/desktop/fonts.nix new file mode 100644 index 00000000..001596a0 --- /dev/null +++ b/options/desktop/fonts.nix @@ -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 + ]; +}