nixos/dokuwiki: dokuwiki user

This commit is contained in:
dadada 2020-04-04 12:46:50 +02:00
parent 2e699f1db1
commit 2b67a89f29
No known key found for this signature in database
GPG key ID: EEB8D1CE62C4DFEA

View file

@ -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;
};
};
}