diff options
Diffstat (limited to 'hosts/atlas/default.nix')
| -rw-r--r-- | hosts/atlas/default.nix | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/hosts/atlas/default.nix b/hosts/atlas/default.nix index 681065b..51a5e34 100644 --- a/hosts/atlas/default.nix +++ b/hosts/atlas/default.nix @@ -18,9 +18,24 @@ ]; networking.hostName = "atlas"; - nix.settings.trusted-users = ["atlas"]; + nix = { + settings.trusted-users = ["atlas" "nix-ssh"]; + sshServe = { + enable = true; + keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIlNzPwEdNMT+wuW9pfYBQ7CSNUhBAF7rRXTRD4UIx9Z hercules-ci-agent@p-body" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF+0oAgrDPVGl/SL54koypwWzMzjnVdqTm+QNkU2amF9 p-body@p-body" + ]; + }; + }; - services.hercules-ci-agent.enable = true; + services = { + hercules-ci-agent.enable = true; + nix-serve = { + enable = true; + secretKeyFile = "/var/cache-priv-key.pem"; + }; + }; swapDevices = [ { |
