set NIX_PATH
This commit is contained in:
parent
a86db3cd33
commit
72e91bfdb2
|
@ -1,5 +1,5 @@
|
||||||
diff --git a/base.nix b/base.nix
|
diff --git a/base.nix b/base.nix
|
||||||
index 7eaee32..5e5d650 100644
|
index 7eaee32..8e317ec 100644
|
||||||
--- a/base.nix
|
--- a/base.nix
|
||||||
+++ b/base.nix
|
+++ b/base.nix
|
||||||
@@ -27,6 +27,11 @@ with lib;
|
@@ -27,6 +27,11 @@ with lib;
|
||||||
|
@ -14,7 +14,7 @@ index 7eaee32..5e5d650 100644
|
||||||
not-os.simpleStaticIp = mkOption {
|
not-os.simpleStaticIp = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
@@ -93,8 +98,13 @@ with lib;
|
@@ -93,8 +98,14 @@ with lib;
|
||||||
build-cores = 4
|
build-cores = 4
|
||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
|
@ -25,6 +25,7 @@ index 7eaee32..5e5d650 100644
|
||||||
+ profile.text = ''
|
+ profile.text = ''
|
||||||
+ export PATH=/run/current-system/sw/bin
|
+ export PATH=/run/current-system/sw/bin
|
||||||
+ export EDITOR=nano
|
+ 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";
|
"resolv.conf".text = "nameserver 10.0.2.3";
|
||||||
passwd.text = ''
|
passwd.text = ''
|
||||||
|
|
Loading…
Reference in New Issue