nix: nix-racer -> selector4nix

Replace the vendored nix-racer Rust proxy with selector4nix as the local
substituter proxy. Drop the nix-racer crate and its systemd service, add
the selector4nix flake input, repoint nix.settings.substituters at its
port, and load upstream nixos modules via an upstreamModules list in
flake/hosts.nix.
This commit is contained in:
2026-08-08 21:36:18 +08:00
parent 96de1d082c
commit 1cf0d8fed2
10 changed files with 128 additions and 2565 deletions
Generated
+41
View File
@@ -121,6 +121,22 @@
"type": "github"
}
},
"crane": {
"locked": {
"lastModified": 1784564969,
"narHash": "sha256-TkTWNhJV/8Wk3czlbz4bwHZkFCaCHPsOy+oJe4PUiXg=",
"owner": "ipetkov",
"repo": "crane",
"rev": "7930f6c291de6f83c257839d434592aa085f290a",
"type": "github"
},
"original": {
"owner": "ipetkov",
"ref": "master",
"repo": "crane",
"type": "github"
}
},
"darkly": {
"inputs": {
"nixpkgs": [
@@ -613,6 +629,7 @@
"nixpkgs-unstable": "nixpkgs-unstable",
"nixpkgs-unstable-small": "nixpkgs-unstable-small",
"noctalia": "noctalia",
"selector4nix": "selector4nix",
"sops-nix": "sops-nix",
"stylix": "stylix",
"system76-scheduler-niri": "system76-scheduler-niri",
@@ -638,6 +655,30 @@
"type": "github"
}
},
"selector4nix": {
"inputs": {
"crane": "crane",
"flake-parts": [
"flake-parts"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1786060471,
"narHash": "sha256-jOIHxqMGJ5vdWkuX/4KAYwMV4av1hW6YVO62vM+Q7Fk=",
"owner": "StarryReverie",
"repo": "selector4nix",
"rev": "590f98ce3123fa854cc7dc42f04cd5b92c37d7a6",
"type": "github"
},
"original": {
"owner": "StarryReverie",
"repo": "selector4nix",
"type": "github"
}
},
"sops-nix": {
"inputs": {
"nixpkgs": [