Revert "fix(remote build): set PATH environment variable required for nix acces on remote shell"

This reverts commit c37724ec6d.

Actually the config needs to be systemwide
This commit is contained in:
Khaïs COLIN 2024-08-11 17:41:48 +02:00
parent 9ed7765667
commit 38b50dd127

View file

@ -91,11 +91,4 @@ 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";
};
}