mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2025-10-06 04:53:57 +02:00
voyager: cleanup postgres
This commit is contained in:
@@ -4,16 +4,10 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
/* enableTCPIP = true; # Expose on the network */
|
/* enableTCPIP = true; # Expose on the network */
|
||||||
authentication = pkgs.lib.mkOverride 10 ''
|
authentication = pkgs.lib.mkOverride 10 ''
|
||||||
local gitea all ident map=gitea-users
|
|
||||||
local vaultwarden all ident map=vaultwarden-users
|
|
||||||
local all all trust
|
local all all trust
|
||||||
host all all 127.0.0.1/32 trust
|
host all all 127.0.0.1/32 trust
|
||||||
host all all ::1/128 trust
|
host all all ::1/128 trust
|
||||||
'';
|
'';
|
||||||
identMap = ''
|
|
||||||
gitea-users gitea gitea
|
|
||||||
vaultwarden-users vaultwarden vaultwarden
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.postgresqlBackup = {
|
services.postgresqlBackup = {
|
||||||
@@ -23,7 +17,6 @@
|
|||||||
backupAll = true;
|
backupAll = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
environment.systemPackages = [ config.services.postgresql.package ];
|
environment.systemPackages = [ config.services.postgresql.package ];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user