diff options
author | Soispha <soispha@vhack.eu> | 2023-07-03 15:09:12 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-07-03 15:09:12 +0200 |
commit | be4d0a4750d84f4ec2cba6375443263b7dddd2e3 (patch) | |
tree | d6073bf1461b2d9980b98db7e374d5bfba5aa72e /system/services/openssh | |
parent | Feat(system/disks): Add disko with impermanence (diff) | |
download | nixos-server-be4d0a4750d84f4ec2cba6375443263b7dddd2e3.tar.gz nixos-server-be4d0a4750d84f4ec2cba6375443263b7dddd2e3.zip |
Fix(system/services/openssh): Rename to 'openssh' as the 'd' is a typo
Diffstat (limited to 'system/services/openssh')
-rw-r--r-- | system/services/openssh/default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/services/openssh/default.nix b/system/services/openssh/default.nix new file mode 100644 index 0000000..1bb37ee --- /dev/null +++ b/system/services/openssh/default.nix @@ -0,0 +1,13 @@ +{...}: { + services.openssh = { + enable = true; + settings.PasswordAuthentication = false; + hostKeys = [ + { + path = "/srv/sshd/ssh_host_ed25519_key"; + rounds = 1000; + type = "ed25519"; + } + ]; + }; +} |