From 72e91bfdb280916ea8034619f1f174332bdab8ec Mon Sep 17 00:00:00 2001 From: Florian Agbuya Date: Mon, 19 Feb 2024 15:55:59 +0800 Subject: [PATCH] set NIX_PATH --- pr-28.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pr-28.patch b/pr-28.patch index 0c58027..6ab2a07 100644 --- a/pr-28.patch +++ b/pr-28.patch @@ -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 = ''