fix(remote build): actually the config needs to be systemwide
This makes some amount of sense, since it would probably be the nix daemon that is connecting to the remote build machine.
This commit is contained in:
parent
c37724ec6d
commit
687f517370
1 changed files with 8 additions and 0 deletions
|
|
@ -366,6 +366,14 @@ in
|
||||||
dockerSocket.enable = true;
|
dockerSocket.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# configure ssh
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue