summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/home/default.nix2
-rw-r--r--modules/hosts/X230/home.nix4
-rw-r--r--modules/hosts/libreX60/configuration.nix13
-rw-r--r--modules/hosts/libreX60/home.nix4
4 files changed, 10 insertions, 13 deletions
diff --git a/modules/home/default.nix b/modules/home/default.nix
index c6278f2..9abf1b5 100644
--- a/modules/home/default.nix
+++ b/modules/home/default.nix
@@ -13,11 +13,13 @@
./htop.nix
./initial-home-setup.nix
./pcmanfm.nix # TODO mk name changeable & doesn't seem to work right now
+ ./theme-st.nix
./theme.nix
./userdirs.nix
./wallpapers.nix
];
+ theme.st.enable = lib.mkDefault false;
theme.mint.enable = lib.mkDefault true;
wallpapers.enable = lib.mkDefault false;
}
diff --git a/modules/hosts/X230/home.nix b/modules/hosts/X230/home.nix
index 871d997..87a16ea 100644
--- a/modules/hosts/X230/home.nix
+++ b/modules/hosts/X230/home.nix
@@ -10,5 +10,9 @@
gtk.size = 8;
};
cursor.size = 24;
+ st = {
+ enable = true;
+ font = "Tamzen:pixelsize=14";
+ };
};
}
diff --git a/modules/hosts/libreX60/configuration.nix b/modules/hosts/libreX60/configuration.nix
index 6a681ed..55f1774 100644
--- a/modules/hosts/libreX60/configuration.nix
+++ b/modules/hosts/libreX60/configuration.nix
@@ -22,18 +22,5 @@
# i915 Gpu requires intel driver
services.xserver.videoDrivers = [ "intel" ];
- # Tamzen font in st
- nixpkgs.overlays = [
- (final: prev: {
- st = prev.st.overrideAttrs (old: {
- buildInputs = old.buildInputs or [] ++ [ pkgs.makeWrapper ];
- postInstall = old.postInstall or "" + ''
- wrapProgram $out/bin/st \
- --add-flags '-fTamzen:pixelsize=14'
- '';
- });
- })
- ];
-
system.stateVersion = "24.11";
}
diff --git a/modules/hosts/libreX60/home.nix b/modules/hosts/libreX60/home.nix
index 01496db..5b35457 100644
--- a/modules/hosts/libreX60/home.nix
+++ b/modules/hosts/libreX60/home.nix
@@ -10,5 +10,9 @@
gtk.size = 8;
};
cursor.size = 24;
+ st = {
+ enable = true;
+ font = "Tamzen:pixelsize=14";
+ };
};
}