diff options
Diffstat (limited to '')
-rw-r--r-- | modules/desktop/default.nix | 6 | ||||
-rw-r--r-- | modules/desktop/fonts.nix | 18 |
2 files changed, 24 insertions, 0 deletions
diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix new file mode 100644 index 0000000..be7eaaf --- /dev/null +++ b/modules/desktop/default.nix @@ -0,0 +1,6 @@ +{lib, config, pkgs, ...}: +{ + imports = [ + ./fonts.nix + ]; +} diff --git a/modules/desktop/fonts.nix b/modules/desktop/fonts.nix new file mode 100644 index 0000000..a840582 --- /dev/null +++ b/modules/desktop/fonts.nix @@ -0,0 +1,18 @@ +{ pkgs, config, lib, ... }: + +{ + fonts = { + fontconfig.enable = true; + fonts = with pkgs; [ + noto-fonts-emoji + dejavu_fonts + source-code-pro + source-sans-pro + source-serif-pro + ]; + + fontconfig.defaultFonts = { + monospace = [ "Source Code Pro" ]; + }; + }; +} |