about summary refs log tree commit diff
path: root/nixos/modules/services/video
diff options
context:
space:
mode:
authormidchildan <git@midchildan.org>2023-05-20 19:58:07 +0900
committermidchildan <git@midchildan.org>2023-05-22 05:24:18 +0900
commit059006b84b3c1a6d987e9f09bcaf356c99c2ed6f (patch)
treeec730f8baada54d49d66ccd29387c740afed4e17 /nixos/modules/services/video
parent21cd3ea8b88346e2331ef01126a7a890567427c0 (diff)
nixos/epgstation: add required directories to tmpfiles.d
Diffstat (limited to 'nixos/modules/services/video')
-rw-r--r--nixos/modules/services/video/epgstation/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/modules/services/video/epgstation/default.nix b/nixos/modules/services/video/epgstation/default.nix
index a395294ec1425..78826e048f2c8 100644
--- a/nixos/modules/services/video/epgstation/default.nix
+++ b/nixos/modules/services/video/epgstation/default.nix
@@ -308,9 +308,15 @@ in
       ];
 
     systemd.tmpfiles.rules = [
+      "d '/var/lib/epgstation/key' - ${username} ${groupname} - -"
       "d '/var/lib/epgstation/streamfiles' - ${username} ${groupname} - -"
+      "d '/var/lib/epgstation/drop' - ${username} ${groupname} - -"
       "d '/var/lib/epgstation/recorded' - ${username} ${groupname} - -"
       "d '/var/lib/epgstation/thumbnail' - ${username} ${groupname} - -"
+      "d '/var/lib/epgstation/db/subscribers' - ${username} ${groupname} - -"
+      "d '/var/lib/epgstation/db/migrations/mysql' - ${username} ${groupname} - -"
+      "d '/var/lib/epgstation/db/migrations/postgres' - ${username} ${groupname} - -"
+      "d '/var/lib/epgstation/db/migrations/sqlite' - ${username} ${groupname} - -"
     ];
 
     systemd.services.epgstation = {