From 04e6bc3c5c99d6a99f17cfa5f69f34fe8941aee2 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 11 Mar 2026 21:06:44 +0900 Subject: hst: expose scheduling policy This is primarily useful for poorly written music players for now. Signed-off-by: Ophestra --- test/configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/configuration.nix') diff --git a/test/configuration.nix b/test/configuration.nix index 5724ec4f..62d8239d 100644 --- a/test/configuration.nix +++ b/test/configuration.nix @@ -28,6 +28,15 @@ # Automatically login on tty1 as a normal user: services.getty.autologinUser = "alice"; + security.pam.loginLimits = [ + { + domain = "@users"; + item = "rtprio"; + type = "-"; + value = 1; + } + ]; + environment = { systemPackages = with pkgs; [ # For D-Bus tests: -- cgit v1.3.1