update nixos

This commit is contained in:
2026-06-19 18:11:10 +02:00
parent 4ab575a73b
commit e02099e022
4 changed files with 25 additions and 30 deletions
+7 -7
View File
@@ -139,10 +139,10 @@ in
{ domain = "@audio"; type = "-"; item = "memlock"; value = "unlimited"; }
{ domain = "@audio"; type = "-"; item = "nice"; value = "-20"; }
];
systemd.user.extraConfig = ''
DefaultLimitRTPRIO=95
DefaultLimitMEMLOCK=infinity
'';
systemd.user.settings.Manager = {
DefaultLimitRTPRIO = 95;
DefaultLimitMEMLOCK = "infinity";
};
})
# --- CPU partitioning (cgroup-based) ------------------------------------
@@ -159,9 +159,9 @@ in
# so cores get clamped at minimum frequency.
# - No rcu_nocbs= : microsecond-scale jitter is irrelevant at 21ms quantum.
(lib.mkIf (cfg.enable && cfg.cpuPartitioning) {
systemd.user.extraConfig = ''
CPUAffinity=${cfg.nonAudioCpus}
'';
systemd.user.settings.Manager = {
CPUAffinity = cfg.nonAudioCpus;
};
systemd.settings.Manager.CPUAffinity = cfg.nonAudioCpus;
# Delegate the cpuset controller to user managers so user-level slices
+3 -1
View File
@@ -4,8 +4,10 @@
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# Ventoy has some blobs making it insecure
nixpkgs.config.permittedInsecurePackages = [
# Ventoy has some blobs making it insecure
"ventoy-qt5-1.1.12"
# Temporary workaround
"librewolf-unwrapped-151.0.2-1" "librewolf-151.0.2-1"
];
}