diff --git a/nix/nixosModules/extra/typst-bot.nix b/nix/nixosModules/extra/typst-bot.nix index e10b06fc..dbadaea3 100644 --- a/nix/nixosModules/extra/typst-bot.nix +++ b/nix/nixosModules/extra/typst-bot.nix @@ -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 diff --git a/nix/secrets/typst-bot_token.age b/nix/secrets/typst-bot_token.age index 66bb798c..83023c63 100644 --- a/nix/secrets/typst-bot_token.age +++ b/nix/secrets/typst-bot_token.age @@ -1,13 +1,13 @@ age-encryption.org/v1 --> ssh-ed25519 7owkuQ jha7rYhzyzVzR4VYDMBqHo1wHuSZnP9w6GTMO/a1sXI -HX43AgnnnNQexRvHnRi6HvxVjcCVL7BWD1WomwgeCwc --> ssh-ed25519 yg55bA Sfk2kkYpNL/cvNW6Fo6HubV0zxx9ZhplZUupg31YQGA -2Zck9Zsa7VQLvSsYx5k6AA0f/h/VXkYjAbuGUDTTvnI --> ssh-ed25519 gFLKzg S5FsipVe4bZQW+YW7JC/65jZCFFfUQ6PUluX5ZMYWX0 -AiiIt+jv3vCxFGRSm/ZW4GakZBO4kRZzLcL43BKCtWE --> ssh-ed25519 zp0Cfw Wb+pztFrqXMkYBjpNi+xp2stCNnt1IWiv2WLHMaS5mc -xq7tAlduk4pTUVn2qNV0ePA8muSctbJv6NsRmQTPN8w ---- r+Of+/rxWvTwvSEqP8AyCOfPorfARyXM3w/3ZBHAEYQ -~#[E 7|$_kdĩr'pf#:z -k½cZЩdleN'el,QW- -m($S/'OWӄW{,q \ No newline at end of file +-> ssh-ed25519 7owkuQ eWzzF0s9Mr9JRRzZMAPecEhh1XZ5imUiJY8vQ7KAc2k +ypLvXhGF7VDVmIY34cDFVJSLocxRXb07z9jryNicaZA +-> ssh-ed25519 yg55bA //J61jBOXtQaAb2jzzmnHhnIZCH1C/EfXiEOMU4SrGw +mrNEZc9jN6485hVTJ0FBk+lfhFh7ulWoUf8mdvKYKH0 +-> ssh-ed25519 gFLKzg isfiyMEOzcC8RfooPzf5SlS0SxhD1tjKhmbsHkw9DD4 +mGcxhhaH6KvazO4OjahxaJgDhxnij5WupEci7UN/fo8 +-> ssh-ed25519 zp0Cfw Vy4pR6wIJUycvfaZ8rbKOuAEbhSFQ3AXSRcPG8iQKh4 +A/tKUqGoN5AEswYa65TMISGILnvtSjbsEEEbn8QU4So +-> =r$r-grease %%Bf6ERc Lf_VZS +D/QB3GplSzloVuE +--- okV5fCCX/Pedc8fBYYyDpMpsr611FhKV8yLUfoDkRgI +:\n<|CJSnSh&Nq;2G~z-GUջάkI~0 &?j֤I#T0KCpk*mu {ǐ:Qf