about summary refs log tree commit diff stats
path: root/flake/nixosConfigurations/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-04-10 13:16:11 +0200
committerSoispha <soispha@vhack.eu>2023-05-09 19:30:14 +0200
commit16bb211bca74fb4ea22d9b5670d317c9366c0f79 (patch)
tree3bc3f7bd6680e08e6532ee503d99abbbed1674a2 /flake/nixosConfigurations/default.nix
parentFix(host/tiamat): Do not use nixpkgs (diff)
downloadnixos-config-16bb211bca74fb4ea22d9b5670d317c9366c0f79.tar.gz
nixos-config-16bb211bca74fb4ea22d9b5670d317c9366c0f79.zip
Fix(system/services/nix): Add nixpkgs to args
Diffstat (limited to 'flake/nixosConfigurations/default.nix')
-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];
   };
 }