feat: add attic - a self-hosted nix cache server

This commit is contained in:
Ryan Yin
2024-03-04 01:45:55 +08:00
parent 69a64b209a
commit b4015c2189
7 changed files with 241 additions and 43 deletions
+4
View File
@@ -31,6 +31,10 @@
encode zstd gzip
reverse_proxy http://localhost:9093
'';
virtualHosts."http://attic.writefor.fun".extraConfig = ''
encode zstd gzip
reverse_proxy http://localhost:8888
'';
};
networking.firewall.allowedTCPPorts = [80 443];
}