diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-07 19:51:25 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-07 19:51:25 -0800 |
commit | 6d17beda374d10de407cbca94d99809f5f811820 (patch) | |
tree | 9bea82b41fe708c34c0dde77e30fb0edfb800d30 /modules/desktop | |
parent | flake: pull home-manager and unstable (diff) | |
download | world-6d17beda374d10de407cbca94d99809f5f811820.tar.gz |
modules: start desktop configuration
We will create a module for desktop (which will also be used by the laptop). Start by configuring the fonts.
Diffstat (limited to 'modules/desktop')
-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" ]; + }; + }; +} |