1
Fork 0

Set up tmpfile rule for creating microbin data directory

Also update the dns file
This commit is contained in:
prescientmoon 2024-05-09 15:29:18 +02:00
parent 17e58971b1
commit e221636b45
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
2 changed files with 13 additions and 3 deletions

View file

@ -11,6 +11,8 @@ in
services.microbin = { services.microbin = {
enable = true; enable = true;
dataDir = "/persist/state/var/lib/microbin"; dataDir = "/persist/state/var/lib/microbin";
# {{{ Settings
settings = { settings = {
# High level settings # High level settings
MICROBIN_ADMIN_USERNAME = "prescientmoon"; MICROBIN_ADMIN_USERNAME = "prescientmoon";
@ -27,5 +29,8 @@ in
MICROBIN_HIDE_HEADER = "true"; MICROBIN_HIDE_HEADER = "true";
MICROBIN_HIDE_LOGO = "true"; MICROBIN_HIDE_LOGO = "true";
}; };
# }}}
}; };
systemd.tmpfiles.rules = [ "d ${config.services.microbin.dataDir}" ];
} }

View file

@ -4,7 +4,7 @@ $TTL 600 ; expiration time in ms
; ========================================================================================== ; ==========================================================================================
; Main dns records ; Main dns records
; Actual (internal, mostly) IPs ; Actual (tailscale internal) IPs
lapetus.moonythm.dev IN A 100.93.136.59 lapetus.moonythm.dev IN A 100.93.136.59
lapetus.moonythm.dev IN AAAA fd7a:115c:a1e0::e75d:883b lapetus.moonythm.dev IN AAAA fd7a:115c:a1e0::e75d:883b
@ -28,9 +28,14 @@ search IN CNAME lapetus.moonythm.dev.
smos IN CNAME lapetus.moonythm.dev. smos IN CNAME lapetus.moonythm.dev.
warden IN CNAME lapetus.moonythm.dev. warden IN CNAME lapetus.moonythm.dev.
yt IN CNAME lapetus.moonythm.dev. yt IN CNAME lapetus.moonythm.dev.
diptime IN CNAME lapetus.moonythm.dev.
*.irc IN CNAME irc.moonythm.dev. *.irc IN CNAME irc.moonythm.dev.
diptime IN CNAME real.lapetus.moonythm.dev.
; Tunnel used by lapetus
tunnel.lapetus IN CNAME 347d9ead-a523-4f8b-bca7-3066e31e2952.cfargotunnel.com
; lapetus services using cloudflare tunnels
bin IN CNAME tunnel.lapetus.moonythm.dev.
; ========================================================================================== ; ==========================================================================================
; Migadu mail setup ; Migadu mail setup