1
0
Fork 0

Styx: Adjust to nix-darwin updates

This commit is contained in:
Daniel Kempkens 2022-08-22 21:15:44 +02:00
parent 9167e2b435
commit ca818ed4ce

View file

@ -12,31 +12,32 @@ in
];
nix = {
binaryCaches = [
settings = {
experimental-features = [ "nix-command" "flakes" ];
extra-platforms = [ "x86_64-darwin" ];
auto-optimise-store = true;
keep-derivations = true;
keep-outputs = true;
substituters = [
"https://nix-community.cachix.org"
"https://nifoc.cachix.org"
] ++ optionals secret.nix-cache.nifoc.enabled [
secret.nix-cache.nifoc.s3Url
];
binaryCachePublicKeys = [
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"nifoc.cachix.org-1:ymuftq7RgN/lf/iWXFK8gpwDSAGFaGBeliWe9u6q8II="
] ++ optionals secret.nix-cache.nifoc.enabled [
secret.nix-cache.nifoc.publicKeyValue
];
trustedUsers = [
"@admin"
];
trusted-users = [ "@admin" ];
};
extraOptions = ''
experimental-features = nix-command flakes
extra-platforms = x86_64-darwin
keep-derivations = true
keep-outputs = true
auto-optimise-store = true
'';
configureBuildUsers = true;
distributedBuilds = true;
@ -50,8 +51,6 @@ in
};
users = {
nix.configureBuildUsers = true;
users.daniel = {
home = "/Users/daniel";
};