trusted substituter

This commit is contained in:
cy 2025-01-05 06:11:02 -05:00
parent 4c17e30aa8
commit 8bd64e2ba7
2 changed files with 13 additions and 4 deletions

View file

@ -32,6 +32,16 @@
nixpkgs-btrbk.url = "github:cything/nixpkgs/btrbk"; # unmerged PR
};
nixConfig = {
extra-substituters = [
"https://cache.cything.io"
];
# extra-trusted-public-keys = [
# ""
# ];
builders-use-substitutes = true;
};
outputs =
{
self,

View file

@ -9,17 +9,16 @@
listen = "[::]:8090";
api-endpoint = "https://cache.cything.io/";
allowed-hosts = [ "cache.cything.io" ];
jwt = { };
require-proof-of-possession = false;
compression.type = "zstd";
database.url = "postgresql:///atticd?host=/run/postgresql";
storage = {
type = "s3";
region = "default";
bucket = "cy7";
endpoint = "https://e3e97aac307d106a7becea43cef8fcbd.r2.cloudflarestorage.com";
};
database.url = "postgresql:///atticd?host=/run/postgresql";
chunking = {
nar-size-threshold = 64 * 1024; # 64 KiB