feat(hosts): add NaroMk3 to the existing hosts
This commit is contained in:
@@ -18,9 +18,14 @@ in {
|
||||
example = true;
|
||||
default = false;
|
||||
};
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
default = 22;
|
||||
};
|
||||
};
|
||||
config.services.openssh = mkIf cfg.enable {
|
||||
inherit (cfg) enable;
|
||||
ports = [cfg.port];
|
||||
settings = {
|
||||
AllowUsers = cfg.allowedUsers;
|
||||
PermitRootLogin = "no";
|
||||
|
||||
Reference in New Issue
Block a user