diff --git a/config/nomad.d/host-thingvellir.hcl b/config/nomad.d/host-thingvellir.hcl index fd680af..ebd5eef 100644 --- a/config/nomad.d/host-thingvellir.hcl +++ b/config/nomad.d/host-thingvellir.hcl @@ -34,7 +34,7 @@ client { # Folkugat host_volume "folkugat" { - path = "/mnt/vatnajokull/nomad_volumes/folkugat" + path = "/var/lib/nomad_volumes/folkugat" read_only = false } } diff --git a/modules/system/ssh.nix b/modules/system/ssh.nix index 5f5a945..fcf2f0d 100644 --- a/modules/system/ssh.nix +++ b/modules/system/ssh.nix @@ -8,12 +8,15 @@ in enable = lib.mkEnableOption "ssh"; }; config = lib.mkIf cfg.enable { - services.openssh = { - enable = true; - settings = { - # TODO: Use ssh keys - PasswordAuthentication = true; + services = { + openssh = { + enable = true; + settings = { + # TODO: Use ssh keys + PasswordAuthentication = true; + }; }; + # fail2ban.enable = true; }; networking.firewall.allowedTCPPorts = [ 22 ];