diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 3b5c62b..084594d 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -366,6 +366,14 @@ in 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 # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave