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
Generated
+15 -15
View File
@@ -67,11 +67,11 @@
]
},
"locked": {
"lastModified": 1780258891,
"narHash": "sha256-KURy7kHE9TZG2wrQX0xaKScWp3JqEx7cYxboCJO/KPU=",
"lastModified": 1781833989,
"narHash": "sha256-zLuv4n6C5ceFaLwYKV2uh8zK7Z6fFXx7FD398pi2GVU=",
"owner": "sadjow",
"repo": "claude-code-nix",
"rev": "e65e7eca7efe776d0bf5f53e317d33b3ff973623",
"rev": "a94e5e841e4992e8e173aba973cb9c41ec575bb8",
"type": "github"
},
"original": {
@@ -226,11 +226,11 @@
]
},
"locked": {
"lastModified": 1780099287,
"narHash": "sha256-efIPwVGtIWIjWcznhaop6XN6HxnOL8800hF6CBNvlqQ=",
"lastModified": 1781884383,
"narHash": "sha256-i27BvWCxpdunZVCpeO1WrGLw2chG8LlMiuD6FSYezjo=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "7d8127d308c3fb9664f7e643eec944be74ebb37d",
"rev": "e061b008856927dacf7adfcd44343f353413cbd8",
"type": "github"
},
"original": {
@@ -303,11 +303,11 @@
]
},
"locked": {
"lastModified": 1780319273,
"narHash": "sha256-U+H0zgXVtFMz1mwVTvn5ATOweYU9LpFsbwpUT3TT4SM=",
"lastModified": 1781885060,
"narHash": "sha256-Sx6m0ylfHIRmowEuzphgZ3McRamg5GHs8cdJcwO29Fc=",
"owner": "sudosubin",
"repo": "nix-skills",
"rev": "97a2deb0d9194b9dbe9725b1b076f2ee854e3973",
"rev": "d486392e9e2b9b3d537694e6dd7599f0de3c083e",
"type": "github"
},
"original": {
@@ -346,11 +346,11 @@
]
},
"locked": {
"lastModified": 1780310866,
"narHash": "sha256-fPBRVf6A5xlACYcOI59shGrjURuvwu0lRsDoSCEXt/I=",
"lastModified": 1781622756,
"narHash": "sha256-JrPh4M6S7aPsEE9tOENuZrxC6o2szSLlK+t4+nLke9s=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "4ed851c979641e28597a05086332d75cdc9e395f",
"rev": "08018c72174a4df5657f8d94178ac69fb9c243e5",
"type": "github"
},
"original": {
@@ -362,11 +362,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1779560665,
"narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=",
"lastModified": 1781577229,
"narHash": "sha256-lrp67w8AulE9Ks53n27I45ADSzbOCn4H+CNW1Ck8B+8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786",
"rev": "567a49d1913ce81ac6e9582e3553dd90a955875f",
"type": "github"
},
"original": {
-7
View File
@@ -34,13 +34,6 @@
programs.vscodium = {
enable = true;
package = assert pkgs.vscodium.version == "1.116.02821"; (pkgs.vscodium.overrideAttrs rec {
version = "1.121.03429";
src = pkgs.fetchurl {
url = "https://github.com/VSCodium/vscodium/releases/download/${version}/VSCodium-linux-x64-${version}.tar.gz";
hash = "sha256-LJsGc11MH6zlcJNfSWjTWPn2Jp9dkjeBPQuCXH1woUM=";
};
});
profiles.default.extensions = with pkgs; [
vscode-extensions.mkhl.direnv
vscode-extensions.jnoortheen.nix-ide
+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"
];
}