diff --git a/hosts/macos/configuration.nix b/hosts/macos/configuration.nix index bdb85eb..ac6c463 100644 --- a/hosts/macos/configuration.nix +++ b/hosts/macos/configuration.nix @@ -63,7 +63,23 @@ # TouchID login security.pam.services.sudo_local.touchIdAuth = true; # Flakes - nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix = { + settings = { + experimental-features = [ "nix-command" "flakes" ]; + + substituters = [ + "https://cache.nixos.org" + "https://nix-community.cachix.org" + "https://hyprland.cachix.org" + ]; + + trusted-public-keys = [ + "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" + ]; + }; + }; # Target arch nixpkgs = { hostPlatform = "aarch64-darwin";