summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2024-04-20 23:24:22 -0600
committerAlejandro Soto <alejandro@34project.org>2024-04-20 23:24:22 -0600
commit5282d5fcd323bfd64b89934680cb1295918b643e (patch)
treee7357edc648a60adfbe3ef44b849660b95c9188a
parent4c153ed633acbeaf52bf19b3365fb2d2f312867b (diff)
flake: pass all flakes as specialArgs to sys
Diffstat (limited to '')
-rw-r--r--flake.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 446a74f..949801a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -19,7 +19,7 @@
};
outputs =
- { self, nixpkgs, unstable, home-manager, nur, impermanence, hm-isolation, nixvirt, ... }:
+ flakes@{ self, nixpkgs, unstable, home-manager, nur, impermanence, hm-isolation, nixvirt }:
let
system = "x86_64-linux";
@@ -59,6 +59,10 @@
nixpkgs.nixosModules.notDetected
impermanence.nixosModule
];
+
+ specialArgs = {
+ inherit flakes;
+ };
};
hostConfig = host: nixosSystem {