tsuki/services: remove some uses of secret ports

This commit is contained in:
2023-10-06 18:05:38 +02:00
parent 6cd17fb71c
commit 7193a12ac2
10 changed files with 16 additions and 20 deletions

View File

@@ -1,4 +1,4 @@
{ config, pkgs, lib, secrets, ... }: let
{ config, pkgs, lib, ... }: let
cfg = config.services.postgresql;
in {
services.postgresql = {
@@ -10,7 +10,6 @@ in {
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
'';
port = secrets.ports.postgres;
dataDir = "${config.machineVars.dataDrives.drives.postgres}/${config.services.postgresql.package.psqlSchema}";
settings = {
max_connections = 150;