trusted users and trusted keys
This commit is contained in:
parent
8bd64e2ba7
commit
f909e2fa20
2 changed files with 8 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
storage = {
|
storage = {
|
||||||
type = "s3";
|
type = "s3";
|
||||||
region = "default";
|
region = "auto";
|
||||||
bucket = "cy7";
|
bucket = "cy7";
|
||||||
endpoint = "https://e3e97aac307d106a7becea43cef8fcbd.r2.cloudflarestorage.com";
|
endpoint = "https://e3e97aac307d106a7becea43cef8fcbd.r2.cloudflarestorage.com";
|
||||||
};
|
};
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
experimental-features = "nix-command flakes";
|
experimental-features = "nix-command flakes";
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
flake-registry = "";
|
flake-registry = "";
|
||||||
|
trusted-users = [ "root" "@wheel" ];
|
||||||
|
trusted-public-keys = [ "central:zOr/tVH4EqkIgnClJJzYkHYHbCTtG1aUsA2OZjObAt0=" ];
|
||||||
|
substituters = [ "https://cache.cything.io" ];
|
||||||
};
|
};
|
||||||
channel.enable = false;
|
channel.enable = false;
|
||||||
optimise = {
|
optimise = {
|
||||||
|
@ -17,6 +20,10 @@
|
||||||
persistent = true;
|
persistent = true;
|
||||||
options = "--delete-older-than 14d";
|
options = "--delete-older-than 14d";
|
||||||
};
|
};
|
||||||
|
extraOptions = ''
|
||||||
|
builders-use-substitutes = true
|
||||||
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
time.timeZone = "America/Toronto";
|
time.timeZone = "America/Toronto";
|
||||||
networking.firewall.logRefusedConnections = false;
|
networking.firewall.logRefusedConnections = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue