fix(amy): use correct path for postgres
This commit is contained in:
parent
b052633eac
commit
12bb209156
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
};
|
||||
ensureDatabases = [ "shorks-gay" ];
|
||||
enableTCPIP = true;
|
||||
dataDir = "/data/postgresql/${config.services.postgresql.package.psqlSchema}";
|
||||
dataDir = pkgs.lib.mkIf (config.networking.hostName == "lea") "/data/postgresql/${config.services.postgresql.package.psqlSchema}";
|
||||
authentication = pkgs.lib.mkOverride 10 ''
|
||||
#type database DBuser auth-method
|
||||
local all all peer
|
||||
|
|
Loading…
Reference in a new issue