commit eb940295e16247f5519eeca9e42f4fdafe355406 parent c05db6d30f9cf7c7147f8c4b746e6134e61cce96 Author: Vincent Demeester <vincent@sbr.pm> Date: Sat, 11 Sep 2021 14:43:17 +0200 systems/kerkouane: fix openssh service definition Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | systems/hosts/kerkouane.nix | | | 14 | ++++++++------ |
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/systems/hosts/kerkouane.nix b/systems/hosts/kerkouane.nix @@ -183,12 +183,14 @@ in extraConfig = nginxExtraConfig; }; }; - services.openssh.listenAddresses = [ - { addr = wireguardIp; port = 22; } - ]; - openssh.openFirewall = false; - openssh.passwordAuthentication = false; - openssh.permitRootLogin = "without-password"; + openssh = { + listenAddresses = [ + { addr = wireguardIp; port = 22; } + ]; + openFirewall = false; + passwordAuthentication = false; + permitRootLogin = "without-password"; + }; syncthing.guiAddress = "127.0.0.1:8384"; }; }