From 99d4b3b910bff6811b10a91d355e7bcddc956e4c Mon Sep 17 00:00:00 2001 From: Soispha Date: Mon, 3 Jul 2023 15:09:12 +0200 Subject: Fix(system/services/openssh): Rename to 'openssh' as the 'd' is a typo --- system/services/openssh/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 system/services/openssh/default.nix (limited to 'system/services/openssh') 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"; + } + ]; + }; +} -- cgit 1.4.1