From fcddd3ba06088e235243d41395e40fd9e0107a76 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 1 Oct 2024 06:02:50 -0700 Subject: modules: move shared pc modules from desktop to pc --- modules/desktop/software/access/ssh.nix | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 modules/desktop/software/access/ssh.nix (limited to 'modules/desktop/software/access/ssh.nix') diff --git a/modules/desktop/software/access/ssh.nix b/modules/desktop/software/access/ssh.nix deleted file mode 100644 index b514049..0000000 --- a/modules/desktop/software/access/ssh.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ lib, config, ... }: -{ - programs.ssh.startAgent = false; - security.pam.sshAgentAuth.enable = true; - - services.fail2ban.jails.sshd.settings = { - enabled = true; - filter = "sshd[mode=aggressive]"; - port = lib.strings.concatStringsSep "," (map toString config.services.openssh.ports); - }; -} -- cgit v1.2.3