Thingvellir fixes
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,12 +8,15 @@ in
|
|||||||
enable = lib.mkEnableOption "ssh";
|
enable = lib.mkEnableOption "ssh";
|
||||||
};
|
};
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
services.openssh = {
|
services = {
|
||||||
enable = true;
|
openssh = {
|
||||||
settings = {
|
enable = true;
|
||||||
# TODO: Use ssh keys
|
settings = {
|
||||||
PasswordAuthentication = true;
|
# TODO: Use ssh keys
|
||||||
|
PasswordAuthentication = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
# fail2ban.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||||
|
|||||||
Reference in New Issue
Block a user