valkyrie: add postgresql, podkos.xyz acme

This commit is contained in:
Mateusz Słodkowicz 2023-06-10 00:22:55 +02:00
parent 126ff7bf0d
commit 7374bcea9c
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
1 changed files with 16 additions and 1 deletions

View File

@ -127,7 +127,14 @@
recommendedGzipSettings = true; recommendedGzipSettings = true;
}; };
services.postgresql = {
enable = true;
package = pkgs.postgresql_15;
enableTCPIP = true;
authentication = pkgs.lib.mkOverride 10 ''
local all all trust
'';
};
security.acme.acceptTerms = true; security.acme.acceptTerms = true;
@ -148,5 +155,13 @@
credentialsFile = "/materus/config/valkyrie/certs.secret"; credentialsFile = "/materus/config/valkyrie/certs.secret";
}; };
security.acme.certs."podkos.xyz" = {
domain = "podkos.xyz";
group = "nginx";
extraDomainNames = [ "*.podkos.xyz" ];
dnsProvider = "ovh";
credentialsFile = "/materus/config/valkyrie/certs.secret";
};
} }