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

12 lines
195 B
Nix
Raw Normal View History

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