about summary refs log tree commit diff stats
path: root/sys/svcs/nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-02-28 20:53:59 +0100
committerSoispha <soispha@vhack.eu>2024-02-28 20:53:59 +0100
commitead6456a706a5e83e8b9f460889da498de14065b (patch)
treed58741e68750fab854487932c28a5f266edb14bb /sys/svcs/nix
parentfeat(sys/svcs/nix): Set nix path (diff)
downloadnixos-config-ead6456a706a5e83e8b9f460889da498de14065b.tar.gz
nixos-config-ead6456a706a5e83e8b9f460889da498de14065b.zip
style(sys/svcs/nix): Inline the `nixpkgs` variable
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;