trusted substituter
This commit is contained in:
parent
4c17e30aa8
commit
8bd64e2ba7
2 changed files with 13 additions and 4 deletions
10
flake.nix
10
flake.nix
|
@ -32,6 +32,16 @@
|
||||||
nixpkgs-btrbk.url = "github:cything/nixpkgs/btrbk"; # unmerged PR
|
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 =
|
outputs =
|
||||||
{
|
{
|
||||||
self,
|
self,
|
||||||
|
|
|
@ -9,17 +9,16 @@
|
||||||
listen = "[::]:8090";
|
listen = "[::]:8090";
|
||||||
api-endpoint = "https://cache.cything.io/";
|
api-endpoint = "https://cache.cything.io/";
|
||||||
allowed-hosts = [ "cache.cything.io" ];
|
allowed-hosts = [ "cache.cything.io" ];
|
||||||
|
require-proof-of-possession = false;
|
||||||
jwt = { };
|
|
||||||
|
|
||||||
compression.type = "zstd";
|
compression.type = "zstd";
|
||||||
|
database.url = "postgresql:///atticd?host=/run/postgresql";
|
||||||
|
|
||||||
storage = {
|
storage = {
|
||||||
type = "s3";
|
type = "s3";
|
||||||
region = "default";
|
region = "default";
|
||||||
bucket = "cy7";
|
bucket = "cy7";
|
||||||
endpoint = "https://e3e97aac307d106a7becea43cef8fcbd.r2.cloudflarestorage.com";
|
endpoint = "https://e3e97aac307d106a7becea43cef8fcbd.r2.cloudflarestorage.com";
|
||||||
};
|
};
|
||||||
database.url = "postgresql:///atticd?host=/run/postgresql";
|
|
||||||
|
|
||||||
chunking = {
|
chunking = {
|
||||||
nar-size-threshold = 64 * 1024; # 64 KiB
|
nar-size-threshold = 64 * 1024; # 64 KiB
|
||||||
|
|
Loading…
Add table
Reference in a new issue