nix/config/Realtime.nix

18 lines
243 B
Nix
Raw Normal View History

# Improve DE performance.
{
2024-11-04 04:37:29 +03:00
lib,
config,
...
}: let
cfg = config.module.realtime;
in {
config = lib.mkIf cfg.enable {
security.pam.loginLimits = [{
domain = "@users";
item = "rtprio";
type = "-";
value = 1;
}];
};
2024-03-28 12:01:06 +03:00
}