From 490eefdacf21d25cc413e23e62d418e584d9fd95 Mon Sep 17 00:00:00 2001 From: Soispha Date: Wed, 28 Feb 2024 20:53:21 +0100 Subject: feat(sys/svcs/nix): Set nix path This is useful in the nix repl --- sys/svcs/nix/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/svcs/nix/default.nix') 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 + nixPath = ["nixpkgs=${nixpkgs_as_input}"]; + registry = { nixpkgs.flake = nixpkgs; n.flake = nixpkgs; -- cgit 1.4.1