trusted users and trusted keys

This commit is contained in:
cy 2025-01-05 06:58:28 -05:00
parent 8bd64e2ba7
commit f909e2fa20
2 changed files with 8 additions and 1 deletions

View file

@ -15,7 +15,7 @@
storage = {
type = "s3";
region = "default";
region = "auto";
bucket = "cy7";
endpoint = "https://e3e97aac307d106a7becea43cef8fcbd.r2.cloudflarestorage.com";
};

View file

@ -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;