diff options
author | Soispha <soispha@vhack.eu> | 2024-02-28 20:53:21 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-02-28 20:53:21 +0100 |
commit | 490eefdacf21d25cc413e23e62d418e584d9fd95 (patch) | |
tree | 4f5ad96f33e9fee16c67d34cbd1c984e0c840409 /sys/svcs/nix/default.nix | |
parent | fix(pkgs/scripts/fupdate): Exit after running the main loop (diff) | |
download | nixos-config-490eefdacf21d25cc413e23e62d418e584d9fd95.tar.gz nixos-config-490eefdacf21d25cc413e23e62d418e584d9fd95.zip |
feat(sys/svcs/nix): Set nix path
This is useful in the nix repl
Diffstat (limited to 'sys/svcs/nix/default.nix')
-rw-r--r-- | sys/svcs/nix/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/svcs/nix/default.nix b/sys/svcs/nix/default.nix index 2080cee1..fbd2fa22 100644 --- a/sys/svcs/nix/default.nix +++ b/sys/svcs/nix/default.nix @@ -11,6 +11,10 @@ in { nix = { package = pkgs.nixUnstable; + # This is nice to have in the repl: + # :l <nixpkgs> + nixPath = ["nixpkgs=${nixpkgs_as_input}"]; + registry = { nixpkgs.flake = nixpkgs; n.flake = nixpkgs; |