* Create a user "mediawiki" and give root and wwwrun ident-based
access. svn path=/nixos/trunk/; revision=18779
This commit is contained in:
@@ -63,6 +63,7 @@ in
|
||||
authentication = mkOption {
|
||||
default = ''
|
||||
# Generated file; do not edit!
|
||||
local all mediawiki ident mediawiki-users
|
||||
local all all ident sameuser
|
||||
host all all 127.0.0.1/32 md5
|
||||
host all all ::1/128 md5
|
||||
@@ -113,6 +114,13 @@ in
|
||||
|
||||
environment.systemPackages = [postgresql];
|
||||
|
||||
# !!! This should be be in the mediawiki module, obviously.
|
||||
services.postgresql.identMap =
|
||||
''
|
||||
mediawiki-users root mediawiki
|
||||
mediawiki-users wwwrun mediawiki
|
||||
'';
|
||||
|
||||
jobs.postgresql =
|
||||
{ description = "PostgreSQL server";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user