From 461d67e3204d2bf067db1fe4e3ca49b1f3eb5c24 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Thu, 28 Mar 2024 07:41:56 +0300 Subject: [PATCH] Sway : Allow Realtime for users. --- module/Sway.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/module/Sway.nix b/module/Sway.nix index 3291cc5..e576528 100644 --- a/module/Sway.nix +++ b/module/Sway.nix @@ -52,6 +52,11 @@ SWAY_CONFIG = ./sway/module; }; + # Extra performance. + security.pam.loginLimits = [ + { domain = "@users"; item = "rtprio"; type = "-"; value = 1; } + ]; + # Dconf. # programs.dconf.enable = true; # programs.dconf.profiles.user = {