summaryrefslogtreecommitdiff
path: root/modules/desktop/security/pam.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-01 06:02:50 -0700
committerFuwn <[email protected]>2024-10-01 06:02:50 -0700
commitfcddd3ba06088e235243d41395e40fd9e0107a76 (patch)
tree8b4fabd85315ec93a09842a2123a2e6e16583c75 /modules/desktop/security/pam.nix
parentmodules: move shared i18n to pc (diff)
downloadnixos-config-fcddd3ba06088e235243d41395e40fd9e0107a76.tar.xz
nixos-config-fcddd3ba06088e235243d41395e40fd9e0107a76.zip
modules: move shared pc modules from desktop to pc
Diffstat (limited to 'modules/desktop/security/pam.nix')
-rw-r--r--modules/desktop/security/pam.nix50
1 files changed, 0 insertions, 50 deletions
diff --git a/modules/desktop/security/pam.nix b/modules/desktop/security/pam.nix
deleted file mode 100644
index b7eb426..0000000
--- a/modules/desktop/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;
- };
- };
- };
- };
-}