Avoid warning about darwin-x86_64 expiring

This commit is contained in:
2026-06-05 06:21:39 +00:00
parent 0938c76f1b
commit e57b3e6937

View File

@@ -49,6 +49,9 @@
system = prev.stdenv.hostPlatform.system; system = prev.stdenv.hostPlatform.system;
config = { config = {
allowUnfree = true; allowUnfree = true;
}
// nixpkgs.lib.optionalAttrs (prev.stdenv.hostPlatform.system == "x86_64-darwin") {
allowDeprecatedx86_64Darwin = true;
}; };
}) })
antigravity-cli antigravity-cli
@@ -95,6 +98,7 @@
pkgs = import nixpkgs { pkgs = import nixpkgs {
system = "x86_64-darwin"; system = "x86_64-darwin";
overlays = [ overlay-master ]; overlays = [ overlay-master ];
config.allowDeprecatedx86_64Darwin = true;
}; };
extraSpecialArgs = { extraSpecialArgs = {
primaryUser = homeManagerUser; primaryUser = homeManagerUser;
@@ -120,6 +124,7 @@
./hosts/mars/darwin.nix ./hosts/mars/darwin.nix
(_: { (_: {
nixpkgs.overlays = [ overlay-master ]; nixpkgs.overlays = [ overlay-master ];
nixpkgs.config.allowDeprecatedx86_64Darwin = true;
}) })
]; ];
}; };