From f028201829e021f9fc9c092a1cf5d2b2fd2c190f Mon Sep 17 00:00:00 2001 From: minco Date: Mon, 10 Nov 2025 23:41:30 +0900 Subject: [PATCH] modify ulimit --- configuration.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/configuration.nix b/configuration.nix index 47049d9..75dca17 100644 --- a/configuration.nix +++ b/configuration.nix @@ -58,6 +58,21 @@ in { }]; }; + security.pam.loginLimits = [ + { + domain = "*"; + type = "soft"; + item = "nofile"; + value = "32768"; + } + { + domain = "*"; + type = "hard"; + item = "nofile"; + value = "65537"; + } + ]; + networking.hostName = "haskell"; # Define your hostname. programs.steam.enable = true;