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
hosts/nixos/lapetus/services

View file

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