waffentrager: make auth emtpy

This commit is contained in:
Mateusz Słodkowicz 2024-04-03 10:52:20 +02:00
parent 12cba54eee
commit 6b5b53956b
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
1 changed files with 0 additions and 13 deletions

View File

@ -10,18 +10,5 @@
waffentragerService.elements.enable = true;
waffentragerService.nginx.enable = true;
services.postgresql.enable = true;
services.postgresql.package = pkgs."postgresql_${cfg.version}";
services.postgresql.dataDir = "${config.waffentragerService.elements.postgresqlDir}/${cfg.version}";
services.postgresql.enableJIT = true;
services.postgresql.authentication = pkgs.lib.mkOverride 10 ''
local all all trust
host all all 127.0.0.1/32 scram-sha-256
'';
systemd.services.postgresql = {
partOf = [ "elements-mount.service" ];
requires = [ "elements-mount.service" ];
after = [ "elements-mount.service" ];
};
};
}