about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sys/svcs/nix/default.nix4
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;