summaryrefslogtreecommitdiff
path: root/modules/core/security/pam.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-22 15:23:35 -0700
committerFuwn <[email protected]>2024-09-22 15:23:35 -0700
commit5658bb7f8bf3522c501864ea73024f544b14de3a (patch)
tree0436b387e6e815997da89cea46f2deb6984fb8ab /modules/core/security/pam.nix
parentcore: move kansai networking to desktop (diff)
downloadnixos-config-5658bb7f8bf3522c501864ea73024f544b14de3a.tar.xz
nixos-config-5658bb7f8bf3522c501864ea73024f544b14de3a.zip
core: move kansai security to desktop
Diffstat (limited to 'modules/core/security/pam.nix')
-rw-r--r--modules/core/security/pam.nix50
1 files changed, 0 insertions, 50 deletions
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;
- };
- };
- };
- };
-}