mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:19:22 +08:00
Compare commits
4 Commits
srv1-archi
...
test-keyd
| Author | SHA1 | Date | |
|---|---|---|---|
| 455bd56635 | |||
| 9878931a9d | |||
| 3b3619c0f2 | |||
| 458683d0e1 |
6
flake.lock
generated
6
flake.lock
generated
@@ -990,11 +990,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1728960512,
|
||||
"narHash": "sha256-SmpNwQSMjkkIsxYGc4nK5lXji1V2ftGdvO63YQp+wLY=",
|
||||
"lastModified": 1729222179,
|
||||
"narHash": "sha256-a6OsOKlxF/+UVf7bUi9l09iGkt8vswpE0R8pUnNdOIs=",
|
||||
"owner": "CHN-beta",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e3f3809400ebf3521fb15822bd779e332362bfb1",
|
||||
"rev": "a60d02ef57437f359be6c57d5247c9eb96174345",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -36,7 +36,11 @@ inputs:
|
||||
experimental-features = [ "nix-command" "flakes" "ca-derivations" ];
|
||||
keep-failed = true;
|
||||
max-substitution-jobs = 4;
|
||||
trusted-public-keys = [ "chn:Cc+nowW1LIpe1kyXOZmNaznFDiH1glXmpb4A+WD/DTE=" ];
|
||||
trusted-public-keys =
|
||||
[
|
||||
"chn:Cc+nowW1LIpe1kyXOZmNaznFDiH1glXmpb4A+WD/DTE="
|
||||
"cache.ngi0.nixos.org-1:KqH5CBLNSyX184S9BKZJo1LxrxJ9ltnY2uAs5c/f1MA="
|
||||
];
|
||||
trusted-users = [ "@wheel" ];
|
||||
show-trace = true;
|
||||
max-jobs = 4;
|
||||
@@ -88,7 +92,11 @@ inputs:
|
||||
})
|
||||
# substituters
|
||||
{
|
||||
nix.settings.substituters = inputs.lib.mkIf (nix.substituters != null) nix.substituters;
|
||||
nix.settings.substituters = inputs.lib.mkMerge
|
||||
[
|
||||
(inputs.lib.mkIf (nix.substituters != null) nix.substituters)
|
||||
[ "https://cache.ngi0.nixos.org/" ]
|
||||
];
|
||||
}
|
||||
# autoOptimiseStore
|
||||
(inputs.lib.mkIf nix.autoOptimiseStore
|
||||
|
||||
@@ -51,7 +51,7 @@ inputs:
|
||||
oneapiArch = let match = { znver3 = "CORE-AVX2"; znver4 = "core-avx2"; };
|
||||
in match.${nixpkgs.march} or nixpkgs.march;
|
||||
nvhpcArch = nixpkgs.march;
|
||||
contentAddressedByDefault = true;
|
||||
# contentAddressedByDefault = true;
|
||||
enableCcache = true;
|
||||
});
|
||||
overlays =
|
||||
@@ -87,7 +87,7 @@ inputs:
|
||||
config = cudaConfig //
|
||||
{
|
||||
allowUnfree = true;
|
||||
contentAddressedByDefault = true;
|
||||
# contentAddressedByDefault = true;
|
||||
permittedInsecurePackages =
|
||||
let pkgs = inputs.topInputs.${source.${name}}.legacyPackages.${system};
|
||||
in map
|
||||
|
||||
Reference in New Issue
Block a user