aboutsummaryrefslogtreecommitdiff
path: root/hosts/tower
diff options
context:
space:
mode:
authorIsabella Bastaja <isabella@sorre.xyz>2026-08-26 21:53:19 +0200
committerIsabella Bastaja <isabella@sorre.xyz>2026-08-26 21:54:21 +0200
commit2dcd28381b15af3c60cbc9ac7199e3faecf4a031 (patch)
tree70790c9917e6b4076b58311f4a32bf9738636c06 /hosts/tower
parentde49f84145c325f5c3e373ef5bc807520dd7fde0 (diff)
Revert "tower: wip self hosted nix cache"
This reverts commit de49f84145c325f5c3e373ef5bc807520dd7fde0. Attic's token management sucks. Only a make-token command? What if I want to revoke a token manually?? UX is also annoying on account of it being multi-tenant. Will need to find a better solution.
Diffstat (limited to 'hosts/tower')
-rw-r--r--hosts/tower/web/default.nix1
-rw-r--r--hosts/tower/web/nix-cache.nix20
2 files changed, 0 insertions, 21 deletions
diff --git a/hosts/tower/web/default.nix b/hosts/tower/web/default.nix
index b5c6700..556c8c4 100644
--- a/hosts/tower/web/default.nix
+++ b/hosts/tower/web/default.nix
@@ -7,6 +7,5 @@
./vaultwarden.nix
./caddy.nix
./kanboard.nix
- ./nix-cache.nix
];
}
diff --git a/hosts/tower/web/nix-cache.nix b/hosts/tower/web/nix-cache.nix
deleted file mode 100644
index 731147b..0000000
--- a/hosts/tower/web/nix-cache.nix
+++ /dev/null
@@ -1,20 +0,0 @@
-{ pkgs, ... }: {
- services.atticd = {
- enable = true;
- user = "atticd";
- group = "atticd";
- mode = "monolithic";
- environmentFile = "/var/lib/secrets/atticd.env";
- settings = {
- listen = "127.0.0.1:1345";
- allowed-hosts = [ "nix-cache.sorre.internal" ];
- database.url = "sqlite:///var/lib/atticd/server.db?mode=rwc";
- storage = {
- type = "local";
- path = "/var/lib/atticd/storage";
- };
- };
- };
-
- environment.systemPackages = [ pkgs.attic-client ];
-}