diff --git a/hosts/ymir/configuration.nix b/hosts/ymir/configuration.nix index 407fbff..433356b 100644 --- a/hosts/ymir/configuration.nix +++ b/hosts/ymir/configuration.nix @@ -132,6 +132,16 @@ # Allow unfree packages nixpkgs.config.allowUnfree = true; + # Setup community cache + nix.settings = { + substituters = [ + "https://nix-community.cachix.org" + ]; + trusted-public-keys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + }; + # Optimise storage nix.optimise = { automatic = true;