refactor(hosts): use modules/ssh with sensible defaults
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user