From 8b6678817eb0ae85ff25a1982d075b44f85efc0b Mon Sep 17 00:00:00 2001 From: cybrneko Date: Mon, 6 Jul 2026 00:06:45 -0500 Subject: [PATCH] realtime audio stuff --- configuration.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/configuration.nix b/configuration.nix index 266e00e..ee4bae5 100644 --- a/configuration.nix +++ b/configuration.nix @@ -81,6 +81,22 @@ # no need to redefine it in your config for now) #media-session.enable = true; }; + + # realtime audio shenanigans + security.pam.loginLimits = [ + { + domain = "@audio"; + type = "-"; + item = "rtprio"; + value = "95"; + } + { + domain = "@audio"; + type = "-"; + item = "memlock"; + value = "unlimited"; + } +]; # Enable touchpad support (enabled default in most desktopManager). # services.xserver.libinput.enable = true; @@ -114,6 +130,7 @@ hydrapaper nextcloud-client fastfetch + mutter ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];