refactor(hosts): use modules/ssh with sensible defaults

This commit is contained in:
hektor committed 2026-03-11 21:25:32 +01:00
1 parent b9bdd36a05
commit 828b5d7374
8 files changed
+11 -64

No files matched your search

+1 -8
View File
@@ -10,7 +10,7 @@ in
{
imports = [
./hard.nix
../../modules/ssh/hardened-openssh.nix
../../modules/ssh
];
ssh = {
@@ -59,13 +59,6 @@ in
security.sudo.wheelNeedsPassword = false;
services = {
openssh = {
enable = true;
harden = true;
};
};
environment.systemPackages = with pkgs; [
vim
git