common: add some more nix options
This commit is contained in:
parent
7c3c830d6e
commit
f41fcce8c6
|
@ -10,17 +10,15 @@ in {
|
||||||
package = unstable-pkgs.nixVersions.stable;
|
package = unstable-pkgs.nixVersions.stable;
|
||||||
distributedBuilds = config.networking.hostName != "Tsuki";
|
distributedBuilds = config.networking.hostName != "Tsuki";
|
||||||
|
|
||||||
extraOptions = ''
|
|
||||||
experimental-features = nix-command flakes
|
|
||||||
builders-use-substitutes = true
|
|
||||||
allowed-uris = http:// https://
|
|
||||||
'';
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
allow-dirty = true;
|
||||||
|
allowed-uris = [ "http://" "https://" ];
|
||||||
|
auto-optimise-store = true;
|
||||||
|
binary-caches = [ "https://cache.nixos.org/" ];
|
||||||
|
builders-use-substitutes = true;
|
||||||
|
experimental-features = [ "nix-command" "flakes" "repl-flake" ];
|
||||||
|
log-lines = 50;
|
||||||
trusted-users = [ "h7x4" "nix-builder" ];
|
trusted-users = [ "h7x4" "nix-builder" ];
|
||||||
binary-caches = [
|
|
||||||
"https://cache.nixos.org/"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildMachines = [
|
buildMachines = [
|
||||||
|
|
Loading…
Reference in New Issue