Skip to content

Commit

Permalink
fix(darwin): turn off auto-optimise-store
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston committed May 5, 2024
1 parent af80909 commit 2ee1de8
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions machines/common/shared/nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,19 @@ in {
package = pkgs.nixVersions.nix_2_22;
settings =
{
auto-optimise-store = true;
experimental-features = ["auto-allocate-uids" "flakes" "nix-command"];
trusted-users = ["@sudo" "@wheel" "winston"];
# breaks the Nix Store on macOS
# https://github.com/NixOS/nix/issues/7273
auto-optimise-store = isLinux;
experimental-features = [
"auto-allocate-uids"
"flakes"
"nix-command"
];
trusted-users = [
"@sudo"
"@wheel"
"winston"
];
use-xdg-base-directories = true;
warn-dirty = false;
}
Expand Down

0 comments on commit 2ee1de8

Please sign in to comment.