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 = {