feat(capytal,peertube): capytal's peertube instance
This commit is contained in:
@@ -1,22 +1,21 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.services.postgresql;
|
||||
cfgadm = config.services.pgadmin;
|
||||
in {
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
enableTCPIP = true;
|
||||
authentication = lib.mkForce ''
|
||||
#type database DBuser origin-address auth-method
|
||||
local all all trust
|
||||
# ipv4
|
||||
host all all 172.0.0.1/32 trust
|
||||
host all all 127.0.0.1/32 trust
|
||||
# ipv6
|
||||
host all all ::1/128 trust
|
||||
'';
|
||||
enable = true;
|
||||
ensureDatabases = [
|
||||
"forgejo"
|
||||
"nextcloud"
|
||||
@@ -31,7 +30,6 @@ in {
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
];
|
||||
enableTCPIP = true;
|
||||
settings = {
|
||||
port = 3245;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user