fix(remote build): set PATH environment variable required for nix acces on remote shell
This commit is contained in:
parent
8d0a36614c
commit
c37724ec6d
1 changed files with 7 additions and 0 deletions
|
|
@ -91,4 +91,11 @@ in {
|
|||
};
|
||||
};
|
||||
programs.fuzzel.enable = true;
|
||||
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
# ensure remote nix build can acces nix environment
|
||||
# https://wiki.nixos.org/wiki/Distributed_build
|
||||
matchBlocks.void.setEnv.PATH = "/nix/var/nix/profiles/default/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue