NixOS-Config/modules/system/settings/security/rtprio/default.nix

12 lines
195 B
Nix

{ lib, config, ... }:
{
security.pam.loginLimits = lib.mkIf config.system.desktop.enable [
{
domain = "@users";
item = "rtprio";
type = "-";
value = 1;
}
];
}