modules/darwin/common: fix nixPath

This commit is contained in:
zowoq 2023-07-17 21:02:11 +10:00
parent 4e8a299404
commit 73a60cfa1e

View file

@ -36,7 +36,8 @@ in
nix.settings.min-free = asGB 10;
nix.settings.max-free = asGB 200;
nix.nixPath = [ "nixpkgs=${pkgs.path}" ];
# avoid search path warnings
nix.nixPath = pkgs.lib.mkForce [ "nixpkgs=${pkgs.path}" ];
nix.gc.automatic = true;
nix.gc.options = "--delete-older-than 14d";