diff options
| author | adi <adikro@disroot.org> | 2026-07-29 17:09:58 +0200 |
|---|---|---|
| committer | adi <adikro@disroot.org> | 2026-07-29 17:09:58 +0200 |
| commit | 39a2b09c27bb74c9e59d1772764f901e3c8fb9e4 (patch) | |
| tree | 0ba58e6fbf086a85d875df1c10f6d23bc3bbc7da /modules/fonts.nix | |
| parent | 8a820cacee1ff07ae7397d053b26e66f7086a4a4 (diff) | |
revamped flake.nix, removed homelab specific modulesstaging
Diffstat (limited to 'modules/fonts.nix')
| -rw-r--r-- | modules/fonts.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/modules/fonts.nix b/modules/fonts.nix new file mode 100644 index 0000000..344ff63 --- /dev/null +++ b/modules/fonts.nix @@ -0,0 +1,32 @@ +{ + config, + lib, + pkgs, + ... +}: +let + cfg = config.os.core.fonts; +in +{ + options.os.core.fonts.enable = lib.mkEnableOption "system-wide font and console configuration"; + + config = lib.mkIf cfg.enable { + # console = { + # keyMap = "pl"; + # earlySetup = true; + # font = "ter-v32n"; + # packages = with pkgs; [ terminus_font ]; + # }; + + fonts.packages = with pkgs; [ + nerd-fonts.jetbrains-mono + nerd-fonts.fira-mono + nerd-fonts.fira-code + + noto-fonts + noto-fonts-cjk-sans + noto-fonts-cjk-serif + noto-fonts-color-emoji + ]; + }; +} |
