diff options
author | Soispha <soispha@vhack.eu> | 2024-02-28 20:53:59 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-02-28 20:53:59 +0100 |
commit | ead6456a706a5e83e8b9f460889da498de14065b (patch) | |
tree | d58741e68750fab854487932c28a5f266edb14bb /sys/svcs | |
parent | feat(sys/svcs/nix): Set nix path (diff) | |
download | nixos-config-ead6456a706a5e83e8b9f460889da498de14065b.tar.gz nixos-config-ead6456a706a5e83e8b9f460889da498de14065b.zip |
style(sys/svcs/nix): Inline the `nixpkgs` variable
Diffstat (limited to '')
-rw-r--r-- | sys/svcs/nix/default.nix | 8 |
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; |