From 297479eb9a0d2aba225ecad80147370120191c00 Mon Sep 17 00:00:00 2001 From: victor Date: Sat, 1 Oct 2022 14:56:26 +0200 Subject: [PATCH] finish database.hades --- nixos/hosts/hades/database/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/hosts/hades/database/configuration.nix b/nixos/hosts/hades/database/configuration.nix index d4459c2..a81fa52 100644 --- a/nixos/hosts/hades/database/configuration.nix +++ b/nixos/hosts/hades/database/configuration.nix @@ -1,6 +1,8 @@ { config, pkgs, ... }: let vs = config.vault-secrets.secrets; in { + + system.stateVersion = "21.05"; networking.interfaces.eth0.useDHCP = true; networking.firewall.allowedTCPPorts = [ config.services.postgresql.port ]; @@ -8,6 +10,7 @@ in { vault-secrets.secrets.database = { user = "postgres"; group = "postgres"; + services = [ "postgresql" ]; }; services.postgresql = {