diff --git a/hosts/chunk/attic.nix b/hosts/chunk/attic.nix index 7749d79..14e1604 100644 --- a/hosts/chunk/attic.nix +++ b/hosts/chunk/attic.nix @@ -15,7 +15,7 @@ storage = { type = "s3"; - region = "default"; + region = "auto"; bucket = "cy7"; endpoint = "https://e3e97aac307d106a7becea43cef8fcbd.r2.cloudflarestorage.com"; }; diff --git a/hosts/common.nix b/hosts/common.nix index 24c4556..0de34d5 100644 --- a/hosts/common.nix +++ b/hosts/common.nix @@ -5,6 +5,9 @@ experimental-features = "nix-command flakes"; auto-optimise-store = true; flake-registry = ""; + trusted-users = [ "root" "@wheel" ]; + trusted-public-keys = [ "central:zOr/tVH4EqkIgnClJJzYkHYHbCTtG1aUsA2OZjObAt0=" ]; + substituters = [ "https://cache.cything.io" ]; }; channel.enable = false; optimise = { @@ -17,6 +20,10 @@ persistent = true; options = "--delete-older-than 14d"; }; + extraOptions = '' + builders-use-substitutes = true + ''; + }; time.timeZone = "America/Toronto"; networking.firewall.logRefusedConnections = false;