about summary refs log tree commit diff
path: root/users/glittershark/system
diff options
context:
space:
mode:
Diffstat (limited to 'users/glittershark/system')
-rw-r--r--users/glittershark/system/system/machines/yeren.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/users/glittershark/system/system/machines/yeren.nix b/users/glittershark/system/system/machines/yeren.nix
index 2cbf45a12f83..ae697592def2 100644
--- a/users/glittershark/system/system/machines/yeren.nix
+++ b/users/glittershark/system/system/machines/yeren.nix
@@ -75,6 +75,21 @@
     package = config.depot.users.glittershark.pkgs.fprintd;
   };
 
+  security.pam.loginLimits = [
+    {
+      domain = "grfn";
+      type = "soft";
+      item = "nofile";
+      value = "65535";
+    }
+    {
+      domain = "grfn";
+      type = "hard";
+      item = "nofile";
+      value = "unlimited";
+    }
+  ];
+
   security.pam.services = {
     login.fprintAuth = true;
     sudo.fprintAuth = true;