Skip to content

Commit b4e83b4

Browse files
committed
nix/metal/bitteProfile/cache: disable spongix
1 parent 0b99aac commit b4e83b4

File tree

2 files changed

+10
-25
lines changed

2 files changed

+10
-25
lines changed

nix/metal/bitteProfile/cache.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{inputs, ...}: {
22
imports = [
3-
./spongix.nix
43
inputs.bitte.profiles.common
54
inputs.bitte.profiles.consul-client
65
inputs.bitte.profiles.vault-cache

nix/metal/bitteProfile/default.nix

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -328,29 +328,15 @@ in {
328328
};
329329
};
330330

331-
# For spongix basic auth
332-
secrets.install = {
333-
basicAuth = {
334-
inputType = "binary";
335-
outputType = "binary";
336-
source = "${etcEncrypted}/basic-auth";
337-
target = /var/lib/traefik/basic-auth;
338-
script = ''
339-
chown traefik:traefik /var/lib/traefik/basic-auth
340-
chmod 0600 /var/lib/traefik/basic-auth
341-
'';
342-
};
343-
344-
basicAuthLoki = {
345-
inputType = "binary";
346-
outputType = "binary";
347-
source = "${etcEncrypted}/basic-auth-loki";
348-
target = /var/lib/traefik/basic-auth-loki;
349-
script = ''
350-
chown traefik:traefik /var/lib/traefik/basic-auth-loki
351-
chmod 0600 /var/lib/traefik/basic-auth-loki
352-
'';
353-
};
331+
secrets.install.basicAuthLoki = {
332+
inputType = "binary";
333+
outputType = "binary";
334+
source = "${etcEncrypted}/basic-auth-loki";
335+
target = /var/lib/traefik/basic-auth-loki;
336+
script = ''
337+
chown traefik:traefik /var/lib/traefik/basic-auth-loki
338+
chmod 0600 /var/lib/traefik/basic-auth-loki
339+
'';
354340
};
355341
})
356342
];
@@ -370,7 +356,7 @@ in {
370356
(bitte + /profiles/auxiliaries/telegraf.nix)
371357
(bitte + /modules/docker-registry.nix)
372358
./cache.nix
373-
./spongix-user.nix
359+
./r2-user.nix
374360
./auth-keys-hub.nix
375361
{services.docker-registry.enable = true;}
376362
];

0 commit comments

Comments
 (0)