Skip to content

Commit 6593654

Browse files
committed
nix: auto-allocate-uids for darwin only
1 parent cc83a88 commit 6593654

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

modules/parts/nix-settings.nix

+4-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
settings = lib.mkMerge [
1818
{
19-
auto-allocate-uids = true;
2019
keep-outputs = true;
2120
keep-derivations = true;
2221
keep-going = true;
@@ -55,7 +54,6 @@
5554
"https://nix-community.cachix.org?priority=13"
5655
"https://nixpkgs-wayland.cachix.org"
5756
"https://cache.lix.systems"
58-
"https://cache.flakehub.com"
5957
];
6058

6159
trusted-public-keys = [
@@ -75,6 +73,9 @@
7573
}
7674

7775
(lib.mkIf (stdenv.isDarwin && stdenv.isAarch64) { extra-platforms = "x86_64-darwin"; })
78-
(lib.mkIf stdenv.isDarwin { sandbox = "relaxed"; })
76+
(lib.mkIf stdenv.isDarwin {
77+
sandbox = "relaxed";
78+
auto-allocate-uids = true;
79+
})
7980
];
8081
}

0 commit comments

Comments
 (0)