summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/home/theme.nix4
-rw-r--r--modules/root/default.nix6
-rw-r--r--modules/root/fonts.nix15
-rw-r--r--todo1
4 files changed, 23 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
+ ];
+ };
+}
diff --git a/todo b/todo
index 324637c..a962662 100644
--- a/todo
+++ b/todo
@@ -7,6 +7,7 @@ sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.ta
inputleap for t495
ff violentmonkey userscripts
pcmanfm config FIX
+fonts.fontconfig.antialias = false && gtk font override on librex60
# Secrets
wireguard