From d784f55702fbfb4620ae08c4aafa287ab1f1330a Mon Sep 17 00:00:00 2001 From: harry123 Date: Sat, 2 Aug 2025 10:15:49 +0200 Subject: [PATCH] lutris fix --- hosts/goober/configuration.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hosts/goober/configuration.nix b/hosts/goober/configuration.nix index 4441303..cdefbc7 100644 --- a/hosts/goober/configuration.nix +++ b/hosts/goober/configuration.nix @@ -110,6 +110,7 @@ slurp wl-clipboard udiskie + lutris ]; # Some programs need SUID wrappers, can be configured further or are @@ -132,6 +133,15 @@ }; documentation.dev.enable = true; + systemd.extraConfig = "DefaultLimitNOFILE=524288"; + security.pam.loginLimits = [ + { + domain = "misschloe777"; + type = "hard"; + item = "nofile"; + value = "524288"; + } + ]; # This option defines the first version of NixOS you have installed on this particular machine, # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.