about summary refs log tree commit diff stats
path: root/flake/nixosConfigurations/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake/nixosConfigurations/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix
index d47c89aa..2e0e01fd 100644
--- a/flake/nixosConfigurations/default.nix
+++ b/flake/nixosConfigurations/default.nix
@@ -65,9 +65,11 @@
     impermanence.nixosModules.impermanence
     impermanenceConfig
   ];
+  nixpkgs-as-input = nixpkgs;
 in {
   tiamat = nixpkgs.lib.nixosSystem {
     inherit system pkgs;
+    specialArgs = {inherit nixpkgs-as-input;};
     modules =
       [
         ../../hosts/tiamat/configuration.nix
@@ -77,6 +79,7 @@ in {
 
   mammun = nixpkgs.lib.nixosSystem {
     inherit system pkgs;
+    specialArgs = {inherit nixpkgs-as-input;};
     modules =
       [
         ../../hosts/mammun/configuration.nix
@@ -85,6 +88,7 @@ in {
   };
   lahmu = nixpkgs.lib.nixosSystem {
     inherit system pkgs;
+    specialArgs = {inherit nixpkgs-as-input;};
     modules =
       [
         ../../hosts/lahmu/configuration.nix
@@ -92,6 +96,7 @@ in {
       ++ defaultModules;
   };
   spawn = nixpkgs.lib.nixosSystem {
+    specialArgs = {inherit nixpkgs-as-input;};
     modules = [../../hosts/spawn/configuration.nix];
   };
 }