nixos: update typst-bot module

This commit is contained in:
Primrose 2025-07-30 12:30:01 +02:00
parent 7a27565b0d
commit cc8f3066af
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 14 additions and 13 deletions

View file

@ -28,6 +28,7 @@ in {
users.users."typst-bot" = {
group = "typst-bot";
isSystemUser = true;
home = cfg.dataDir;
};
users.groups."typst-bot" = {};
@ -42,7 +43,7 @@ in {
wantedBy = ["multi-user.target"];
preStart = ''
touch ${cfg.dataDir}/sqlite/db.sqlite
: >${cfg.dataDir}/sqlite/db.sqlite
'';
# Don't pollute the global path