fix(amy): use correct path for postgres

This commit is contained in:
Ashhhleyyy 2024-06-05 01:40:02 +01:00
parent b052633eac
commit 12bb209156
Signed by: ash
GPG key ID: 83B789081A0878FB

View file

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