diff --git a/modules/base/ssh.nix b/modules/base/ssh.nix index 4812e3d..acdb011 100644 --- a/modules/base/ssh.nix +++ b/modules/base/ssh.nix @@ -16,6 +16,15 @@ ]; }; + # ssh-keyscan -t ed25519 -p 222 alpha.caspervk.net + programs.ssh.knownHosts = { + "delta.caspervk.net".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB0x9oImZjIhoPEwLlHVixIh7y1Kwn+SX17xffrdRzvv"; + "git.caspervk.net".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAvPxSg6XN6znT1T4H0U1lzJBsGY7Uann+TBisWD3Drd"; + "lambda.caspervk.net".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAvPxSg6XN6znT1T4H0U1lzJBsGY7Uann+TBisWD3Drd"; + "sigma.caspervk.net".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF2Qrh0tpR5YawiYvcPGC4OSnu4//ge1eVdiBDLrTbCx"; + "tor.caspervk.net".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMVPxvqwS2NMqqCGBkMmExzdBY5hGLegiOuqPJAOfdKk"; + }; + environment.persistence."/nix/persist" = { files = [ "/etc/ssh/ssh_host_ed25519_key"