devos/profiles/ssh/default.nix

14 lines
401 B
Nix
Raw Normal View History

2021-04-06 13:37:40 +02:00
{ ... }: {
services.openssh = {
enable = true;
forwardX11 = true;
permitRootLogin = "no";
startWhenNeeded = true;
};
2021-07-07 12:46:55 +02:00
nix.sshServe.enable = true;
2021-07-07 12:47:59 +02:00
nix.sshServe.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID29iFz1dBQmbCbVkclFEn4I9dY2uf3u7bbKs2obEIl/ mae@teapot"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKGYGAlEHbg4fqLk+KgpqVtCCbUnUq1Z/IF0xPPJqJT8 justabanana@tesco"
2021-07-07 12:46:55 +02:00
];
2021-04-06 13:37:40 +02:00
}