modules/drumknotty: provide state directories for all services

This commit is contained in:
h7x4
2026-07-18 18:42:26 +09:00
parent b0e3d90c20
commit 3c3bf6b10f
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -109,5 +109,10 @@ in
Group = "drumknotty"; Group = "drumknotty";
}; };
}; };
systemd.services."drumknotty-screen-session".serviceConfig.StateDirectory = [
"dibbler"
"dibbler/crashdumps"
];
}; };
} }
+4
View File
@@ -117,6 +117,10 @@ in
]; ];
}; };
}; };
systemd.services."drumknotty-screen-session".serviceConfig.StateDirectory = [
"worblehat"
];
} }
(lib.mkIf ((mainCfg.enable && cfg.enable) || cfg.deadline-daemon.enable) { (lib.mkIf ((mainCfg.enable && cfg.enable) || cfg.deadline-daemon.enable) {