this repo has no description
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(wolumonde): update tangled to use motd and spindle secrets

dusk 20aaab0a 14c345e1

+40
+35
hosts/wolumonde/modules/openbao.nix
··· 1 + {config, ...}: let 2 + port = 5394; 3 + domain = "bao.${config.services.headscale.settings.dns.base_domain}"; 4 + cfg = config.services.openbao.settings; 5 + apiAddress = "127.0.0.1:${toString port}"; 6 + in { 7 + services.openbao = { 8 + enable = true; 9 + settings = { 10 + ui = true; 11 + 12 + listener.default = { 13 + type = "tcp"; 14 + address = apiAddress; 15 + }; 16 + 17 + cluster_addr = "http://127.0.0.1:8201"; 18 + api_addr = "http://${apiAddress}"; 19 + 20 + storage.file.path = "/var/lib/openbao/data"; 21 + }; 22 + }; 23 + 24 + services.headscale.settings.dns.extra_records = [ 25 + { 26 + name = domain; 27 + type = "A"; 28 + value = "100.64.0.2"; 29 + } 30 + ]; 31 + services.nginx.virtualHosts.${domain} = { 32 + quic = true; 33 + locations."/".proxyPass = cfg.api_addr; 34 + }; 35 + }
+5
hosts/wolumonde/modules/tangled.nix
··· 21 21 enable = true; 22 22 package = terra.tangled-knot; 23 23 gitUser = "git"; 24 + motd = "*paws at your commits* arf :3c\n"; 24 25 server = { 25 26 listenAddr = "0.0.0.0:7777"; 26 27 secretFile = config.age.secrets.tangledKnot.path; ··· 46 47 listenAddr = "0.0.0.0:7391"; 47 48 hostname = "spindle.gaze.systems"; 48 49 owner = "did:plc:dfl62fgb7wtjj3fcbb72naae"; 50 + secrets = { 51 + provider = "openbao"; 52 + openbao.proxyAddr = "http://bao.lan.gaze.systems"; 53 + }; 49 54 }; 50 55 }; 51 56 users.users.spindle = {