about summary refs log tree commit diff stats
path: root/sys/svcs/nix
diff options
context:
space:
mode:
Diffstat (limited to 'sys/svcs/nix')
-rw-r--r--sys/svcs/nix/default.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/svcs/nix/default.nix b/sys/svcs/nix/default.nix
index fbd2fa22..3e3588c3 100644
--- a/sys/svcs/nix/default.nix
+++ b/sys/svcs/nix/default.nix
@@ -5,9 +5,7 @@
   templates,
   self,
   ...
-}: let
-  nixpkgs = nixpkgs_as_input;
-in {
+}: {
   nix = {
     package = pkgs.nixUnstable;
 
@@ -16,8 +14,8 @@ in {
     nixPath = ["nixpkgs=${nixpkgs_as_input}"];
 
     registry = {
-      nixpkgs.flake = nixpkgs;
-      n.flake = nixpkgs;
+      nixpkgs.flake = nixpkgs_as_input;
+      n.flake = nixpkgs_as_input;
 
       t.flake = templates;