about summary refs log tree commit diff stats
path: root/sys/svcs/nix/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-02-28 21:38:25 +0100
committerSoispha <soispha@vhack.eu>2024-02-28 21:39:36 +0100
commite55f05c33473e0f3ec40cf01c1385b79500ee3f9 (patch)
tree025a13154453eb1bd06b4bffbebf022a9c88fbff /sys/svcs/nix/default.nix
parentfix(hm/conf/zsh/command_not_found.sh): Improve case 2 output (diff)
downloadnixos-config-e55f05c33473e0f3ec40cf01c1385b79500ee3f9.tar.gz
nixos-config-e55f05c33473e0f3ec40cf01c1385b79500ee3f9.zip
fix(sys/svcs/nix): Ensure that the nix path actually gets set
Diffstat (limited to '')
-rw-r--r--sys/svcs/nix/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/svcs/nix/default.nix b/sys/svcs/nix/default.nix
index 3e3588c3..63f8cd32 100644
--- a/sys/svcs/nix/default.nix
+++ b/sys/svcs/nix/default.nix
@@ -1,5 +1,6 @@
 {
   pkgs,
+  lib,
   # flakes
   nixpkgs_as_input,
   templates,
@@ -11,7 +12,8 @@
 
     # This is nice to have in the repl:
     # :l <nixpkgs>
-    nixPath = ["nixpkgs=${nixpkgs_as_input}"];
+    nixPath = lib.mkForce ["nixpkgs=${nixpkgs_as_input}"];
+    channel.enable = false;
 
     registry = {
       nixpkgs.flake = nixpkgs_as_input;