Set NIX_PATH #33

Merged
sb10q merged 1 commits from fsagbuya/nix-servo:NIX_PATH into master 2024-02-19 17:32:33 +08:00

View File

@ -1,5 +1,5 @@
diff --git a/base.nix b/base.nix
index 7eaee32..5e5d650 100644
index 7eaee32..8e317ec 100644
--- a/base.nix
+++ b/base.nix
@@ -27,6 +27,11 @@ with lib;
@ -14,7 +14,7 @@ index 7eaee32..5e5d650 100644
not-os.simpleStaticIp = mkOption {
type = types.bool;
default = false;
@@ -93,8 +98,13 @@ with lib;
@@ -93,8 +98,14 @@ with lib;
build-cores = 4
EOF
'';
@ -25,6 +25,7 @@ index 7eaee32..5e5d650 100644
+ profile.text = ''
+ export PATH=/run/current-system/sw/bin
+ export EDITOR=nano
+ export NIX_PATH="nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels"
+ '';
"resolv.conf".text = "nameserver 10.0.2.3";
passwd.text = ''