refactor(hosts): use modules/ssh with sensible defaults
This commit is contained in:
@@ -15,7 +15,7 @@ in
|
||||
inputs.disko.nixosModules.disko
|
||||
../../modules/common
|
||||
./hard.nix
|
||||
../../modules/ssh/hardened-openssh.nix
|
||||
../../modules/ssh
|
||||
../../modules/docker
|
||||
../../modules/uptime-kuma
|
||||
];
|
||||
@@ -78,9 +78,4 @@ in
|
||||
enable = true;
|
||||
maxretry = 5;
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
harden = true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user