nixos/dokuwiki: dokuwiki user
This commit is contained in:
parent
2e699f1db1
commit
2b67a89f29
1 changed files with 6 additions and 1 deletions
|
@ -7,7 +7,7 @@ let
|
|||
|
||||
eachSite = config.services.dokuwiki;
|
||||
|
||||
user = config.services.nginx.user;
|
||||
user = "dokuwiki";
|
||||
group = config.services.nginx.group;
|
||||
|
||||
dokuwikiAclAuthConfig = cfg: pkgs.writeText "acl.auth.php" ''
|
||||
|
@ -372,5 +372,10 @@ in
|
|||
"d ${cfg.stateDir}/tmp 0750 ${user} ${group} - -"
|
||||
"C ${cfg.usersFile} 0640 ${user} ${group} - ${pkg hostName cfg}/share/dokuwiki/conf/users.auth.php.dist"
|
||||
]) eachSite);
|
||||
|
||||
users.users.${user} = {
|
||||
group = group;
|
||||
isSystemUser = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue