diff options
Diffstat (limited to 'systems/atlas')
| -rw-r--r-- | systems/atlas/attic.nix | 33 | ||||
| -rw-r--r-- | systems/atlas/default.nix | 1 | ||||
| -rw-r--r-- | systems/atlas/nginx.nix | 6 |
3 files changed, 0 insertions, 40 deletions
diff --git a/systems/atlas/attic.nix b/systems/atlas/attic.nix deleted file mode 100644 index a810eb5..0000000 --- a/systems/atlas/attic.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ - config, - inputs', - secretsDir, - ... -}: { - age.secrets.atticCreds.file = secretsDir + "/atticCreds.age"; - - environment.systemPackages = [inputs'.attic.packages.default]; - - services.atticd = { - enable = true; - - credentialsFile = config.age.secrets.atticCreds.path; - - settings = { - listen = "[::]:5000"; - - api-endpoint = "https://cache.${config.networking.domain}/"; - - chunking = let - kb = 1024; - in { - nar-size-threshold = 64 * kb; - min-size = 16 * kb; - avg-size = 64 * kb; - max-size = 256 * kb; - }; - - compression.type = "zstd"; - }; - }; -} diff --git a/systems/atlas/default.nix b/systems/atlas/default.nix index e527af9..2a8346f 100644 --- a/systems/atlas/default.nix +++ b/systems/atlas/default.nix @@ -6,7 +6,6 @@ }: { imports = [ ./hardware-configuration.nix - ./attic.nix ./miniflux.nix ./nginx.nix ]; diff --git a/systems/atlas/nginx.nix b/systems/atlas/nginx.nix index fbf081a..03a6fc1 100644 --- a/systems/atlas/nginx.nix +++ b/systems/atlas/nginx.nix @@ -19,18 +19,12 @@ in { services.nginx = { enable = true; - clientMaxBodySize = "1250m"; - recommendedGzipSettings = true; recommendedOptimisation = true; recommendedProxySettings = true; recommendedTlsSettings = true; virtualHosts = toVHosts { - cache = { - locations = mkProxy "/" "5000"; - }; - miniflux = { locations = mkProxy "/" "7000"; }; |
