From 5658bb7f8bf3522c501864ea73024f544b14de3a Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 22 Sep 2024 15:23:35 -0700 Subject: core: move kansai security to desktop --- modules/core/security/pam.nix | 50 ------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 modules/core/security/pam.nix (limited to 'modules/core/security/pam.nix') diff --git a/modules/core/security/pam.nix b/modules/core/security/pam.nix deleted file mode 100644 index b7eb426..0000000 --- a/modules/core/security/pam.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ - security = { - pam = { - loginLimits = [ - { - domain = "@wheel"; - item = "nofile"; - type = "soft"; - value = "524288"; - } - { - domain = "@wheel"; - item = "nofile"; - type = "hard"; - value = "1048576"; - } - ]; - - services = - let - ttyAudit = { - enable = true; - enablePattern = "*"; - }; - in - { - swaylock.text = "auth include login"; - gtklock.text = "auth include login"; - - login = { - inherit ttyAudit; - - setLoginUid = true; - }; - - sshd = { - inherit ttyAudit; - - setLoginUid = true; - }; - - sudo = { - inherit ttyAudit; - - setLoginUid = true; - }; - }; - }; - }; -} -- cgit v1.2.3