diff options
author | Tim Keller <tjkeller.xyz> | 2024-10-03 20:38:14 -0500 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2024-10-03 20:38:14 -0500 |
commit | 2b00c3b81aa13bfbf156e2d54f9888283dde11f3 (patch) | |
tree | bb5457a4b33e981fba838aea143f6376b5bb6e30 /modules/root/fonts.nix | |
parent | aa9a274b9c546c79b9cdbf4a044e9e810ab9def4 (diff) | |
download | nixos-2b00c3b81aa13bfbf156e2d54f9888283dde11f3.tar.xz nixos-2b00c3b81aa13bfbf156e2d54f9888283dde11f3.zip |
fonts fonts fonts
Diffstat (limited to 'modules/root/fonts.nix')
-rw-r--r-- | modules/root/fonts.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/root/fonts.nix b/modules/root/fonts.nix new file mode 100644 index 0000000..b72321a --- /dev/null +++ b/modules/root/fonts.nix @@ -0,0 +1,15 @@ +{ pkgs, lib, config, ... }: { + options = { + fonts.enable = lib.mkEnableOption "enables fonts"; + }; + + config = lib.mkIf config.fonts.enable { + fonts.packages = with pkgs; [ + inter + (nerdfonts.override { + fonts = [ "JetBrainsMono" ]; + }) + tamzen + ]; + }; +} |