Skip to content

Commit

Permalink
nixos/gollum: fix systemd tempfile permission
Browse files Browse the repository at this point in the history
When services.gollum.{user,group} was specified a value other than its
default (i.e. "gollum"), the build failed due to referencing a
non-existing user.
  • Loading branch information
bbenno committed Jun 2, 2024
1 parent f974988 commit b5c7987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/gollum.nix
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ in
users.groups."${cfg.group}" = { };

systemd.tmpfiles.rules = [
"d '${cfg.stateDir}' - ${config.users.users.gollum.name} ${config.users.groups.gollum.name} - -"
"d '${cfg.stateDir}' - ${cfg.user} ${cfg.group} - -"
];

systemd.services.gollum = {
Expand Down

0 comments on commit b5c7987

Please sign in to comment.