From 9f58456ef5b7211863b301bc6f55a867e994d55b Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Mon, 2 Oct 2023 22:49:01 +0200 Subject: [PATCH] Added loginLimits --- machines/enigma/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/machines/enigma/default.nix b/machines/enigma/default.nix index eacbb87..a8a1b2a 100644 --- a/machines/enigma/default.nix +++ b/machines/enigma/default.nix @@ -23,6 +23,14 @@ services.resolved.enable = true; + security.pam.loginLimits = [{ + domain = "*"; + type = "-"; + item = "nofile"; + value = "262144"; + }]; + + services.xserver.enable = true; services.xserver.displayManager.gdm.enable = true;