about summary refs log tree commit diff stats
path: root/system/services/nix/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 /system/services/nix/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 '')
-rw-r--r--system/services/nix/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/services/nix/default.nix b/system/services/nix/default.nix
index 27ec7bd6..4549a8df 100644
--- a/system/services/nix/default.nix
+++ b/system/services/nix/default.nix
@@ -3,10 +3,12 @@
   config,
   lib,
   pkgs,
-  nixpkgs,
+  nixpkgs-as-input,
   templates,
   ...
-}: {
+}: let
+  nixpkgs = nixpkgs-as-input;
+in {
   nix = {
     package = pkgs.nixUnstable;