Thingvellir fixes

This commit is contained in:
marc
2025-03-24 22:56:23 +01:00
parent 7312947723
commit 411bf5b0f2
2 changed files with 9 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ client {
# Folkugat # Folkugat
host_volume "folkugat" { host_volume "folkugat" {
path = "/mnt/vatnajokull/nomad_volumes/folkugat" path = "/var/lib/nomad_volumes/folkugat"
read_only = false read_only = false
} }
} }

View File

@@ -8,13 +8,16 @@ in
enable = lib.mkEnableOption "ssh"; enable = lib.mkEnableOption "ssh";
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
services.openssh = { services = {
openssh = {
enable = true; enable = true;
settings = { settings = {
# TODO: Use ssh keys # TODO: Use ssh keys
PasswordAuthentication = true; PasswordAuthentication = true;
}; };
}; };
# fail2ban.enable = true;
};
networking.firewall.allowedTCPPorts = [ 22 ]; networking.firewall.allowedTCPPorts = [ 22 ];
}; };