mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
nixos: update typst-bot module
This commit is contained in:
parent
7a27565b0d
commit
cc8f3066af
2 changed files with 14 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue