From 7374bcea9cdc21d85b20f91c6d32fdc01bb7ff5e Mon Sep 17 00:00:00 2001 From: materus Date: Sat, 10 Jun 2023 00:22:55 +0200 Subject: [PATCH] valkyrie: add postgresql, podkos.xyz acme --- configurations/host/valkyrie/default.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/configurations/host/valkyrie/default.nix b/configurations/host/valkyrie/default.nix index 8bd33b2..9fd984d 100644 --- a/configurations/host/valkyrie/default.nix +++ b/configurations/host/valkyrie/default.nix @@ -127,7 +127,14 @@ 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; @@ -148,5 +155,13 @@ 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"; + }; + }