Add more SSH settings

This commit is contained in:
Inex Code
2021-11-15 16:35:04 +03:00
parent 05627a1dc9
commit 7193030b37
4 changed files with 42 additions and 14 deletions

View File

@@ -117,11 +117,24 @@ in
'';
type = types.nullOr types.string;
};
rootSshKeys = mkOption {
description = ''
ssh = {
enable = mkOption {
default = true;
type = types.nullOr types.bool;
};
rootKeys = mkOption {
description = ''
Root SSH Keys
'';
type = types.nullOr (types.listOf types.string);
'';
type = types.nullOr (types.listOf types.string);
};
passwordAuthentication = mkOption {
description = ''
Password authentication for SSH
'';
default = true;
type = types.nullOr types.bool;
};
};
timezone = mkOption {
description = ''