Skip to content

Commit bdc6198

Browse files
Ericson2314Copilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 84d10ba commit bdc6198

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

nix/nixos-module.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ in
8484
users.groups.${cfg.group} = { };
8585

8686
systemd.tmpfiles.rules = [
87-
"d ${cfg.stateDir} 0750 ${cfg.user} ${cfg.group} -"
88-
"d ${cfg.stateDir}/state 0750 ${cfg.user} ${cfg.group} -"
87+
"d ${cfg.stateDir} 0750 ${cfg.user} ${cfg.group} -"
88+
"d ${cfg.stateDir}/state 0750 ${cfg.user} ${cfg.group} -"
89+
"d ${cfg.stateDir}/state/tmp 0750 ${cfg.user} ${cfg.group} -"
8990
];
9091

9192
systemd.services.hackage-server = {

0 commit comments

Comments
 (0)