summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorscouckel <james.krinsky@gmail.com>2026-04-29 05:22:36 -0500
committerscouckel <james.krinsky@gmail.com>2026-04-29 05:22:36 -0500
commitb208413a08b7a5e1a7becfd6c87e2bc9a3deab76 (patch)
tree5845e3bc5c2f712695b55e7d717751e9782b2b8d /modules
parent137ed6c1739629188dafd17898bfe1e7ac947687 (diff)
lix + kernel cachix for linux-surface
Diffstat (limited to 'modules')
-rw-r--r--modules/hosts/dragotha/dragotha.nix10
-rw-r--r--modules/hosts/tiamat/tiamat.nix2
-rw-r--r--modules/hosts/vecna/vecna.nix2
-rw-r--r--modules/nixosModules/createHost.nix7
4 files changed, 21 insertions, 0 deletions
diff --git a/modules/hosts/dragotha/dragotha.nix b/modules/hosts/dragotha/dragotha.nix
index 2108a72..82de721 100644
--- a/modules/hosts/dragotha/dragotha.nix
+++ b/modules/hosts/dragotha/dragotha.nix
@@ -5,6 +5,7 @@
}: {
flake.nixosConfigurations.dragotha = inputs.nixpkgs.lib.nixosSystem {
modules = [
+ inputs.lix-module.nixosModules.default
self.nixosModules.dragotha
self.nixosModules.dragothaHardware
@@ -26,6 +27,15 @@
boot.kernelParams = ["quiet"];
+ nix.settings = {
+ substituters = [
+ "https://linux-surface.cachix.org"
+ ];
+ trusted-public-keys = [
+ "linux-surface.cachix.org-1:h4xRj4dujnm9I9aL2V7OmUTiT7oEefGVwiI4UQrESsk="
+ ];
+ };
+
hardware.graphics = {
enable = true;
enable32Bit = true;
diff --git a/modules/hosts/tiamat/tiamat.nix b/modules/hosts/tiamat/tiamat.nix
index 58c90b9..30f0a1f 100644
--- a/modules/hosts/tiamat/tiamat.nix
+++ b/modules/hosts/tiamat/tiamat.nix
@@ -5,6 +5,7 @@
}: {
flake.nixosConfigurations.tiamat = inputs.nixpkgs.lib.nixosSystem {
modules = [
+ inputs.lix-module.nixosModules.default
self.nixosModules.tiamat
self.nixosModules.tiamatHardware
@@ -15,6 +16,7 @@
self.nixosModules.tiamatNiri
self.nixosModules.desktop
self.nixosModules.nasClient
+ self.nixosModules.mullvad
];
};
diff --git a/modules/hosts/vecna/vecna.nix b/modules/hosts/vecna/vecna.nix
index e2c9871..e6dedbf 100644
--- a/modules/hosts/vecna/vecna.nix
+++ b/modules/hosts/vecna/vecna.nix
@@ -5,6 +5,7 @@
}: {
flake.nixosConfigurations.vecna = inputs.nixpkgs.lib.nixosSystem {
modules = [
+ inputs.lix-module.nixosModules.default
self.nixosModules.vecna
self.nixosModules.vecnaHardware
@@ -14,6 +15,7 @@
self.nixosModules.vecnaNiri
self.nixosModules.desktop
self.nixosModules.nasClient
+ self.nixosModules.mullvad
];
};
diff --git a/modules/nixosModules/createHost.nix b/modules/nixosModules/createHost.nix
index a74ac53..18fc915 100644
--- a/modules/nixosModules/createHost.nix
+++ b/modules/nixosModules/createHost.nix
@@ -78,6 +78,13 @@
settings.PermitRootLogin = "no";
};
+ programs.nh.enable = true;
+ programs.nh.clean = {
+ enable = true;
+ extraArgs = "--keep 3 --keep-since 3d";
+ dates = "weekly";
+ };
+
system.stateVersion = "25.05";
};
}