summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/home/theme.nix4
-rw-r--r--modules/root/default.nix6
-rw-r--r--modules/root/fonts.nix15
3 files changed, 22 insertions, 3 deletions
diff --git a/modules/home/theme.nix b/modules/home/theme.nix
index c49b8f5..57fee52 100644
--- a/modules/home/theme.nix
+++ b/modules/home/theme.nix
@@ -26,6 +26,10 @@
package = pkgs.cinnamon.mint-y-icons;
name = "Mint-Y-${config.theme.mint.icons.color}";
};
+ font = {
+ package = pkgs.inter;
+ name = "inter";
+ };
cursorTheme = {
name = "Adwaita";
};
diff --git a/modules/root/default.nix b/modules/root/default.nix
index 2ef73aa..9a7affb 100644
--- a/modules/root/default.nix
+++ b/modules/root/default.nix
@@ -5,6 +5,7 @@
./cups.nix
./doas.nix
./docker.nix
+ ./fonts.nix
./grub.nix
./home-manager.nix
./hosts.nix
@@ -26,6 +27,7 @@
enable = lib.mkDefault false;
btrfsSupport = lib.mkDefault true;
};
+ fonts.enable = lib.mkDefault true;
grub = {
enable = lib.mkDefault true;
mode = lib.mkDefault "bios";
@@ -42,9 +44,7 @@
enable = lib.mkDefault true;
extra.enable = lib.mkDefault false;
};
- utils = {
- enable = lib.mkDefault true;
- };
+ utils.enable = lib.mkDefault true;
};
virtualisation.enable = lib.mkDefault false;
wifi.enable = lib.mkDefault true;
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
+ ];
+ };
+}