fix(ssh config): actually use the correct options
This commit is contained in:
parent
6327f0cdc0
commit
332a0cc4c8
1 changed files with 4 additions and 1 deletions
|
|
@ -370,7 +370,10 @@ in
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
# ensure remote nix build can acces nix environment
|
# ensure remote nix build can acces nix environment
|
||||||
# https://wiki.nixos.org/wiki/Distributed_build
|
# 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";
|
extraConfig = ''
|
||||||
|
Host 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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue