From 8c13270bf15d3b0cb5950f3899be44d42970f74e Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Mon, 1 Apr 2024 11:28:16 +0200 Subject: [PATCH] Fix postgres not persisting --- hosts/nixos/common/optional/services/postgres.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/nixos/common/optional/services/postgres.nix b/hosts/nixos/common/optional/services/postgres.nix index 8d0ef20..367ecaa 100644 --- a/hosts/nixos/common/optional/services/postgres.nix +++ b/hosts/nixos/common/optional/services/postgres.nix @@ -1,3 +1,3 @@ { - environment.persistence."/persist/state".directories = [ "/var/lib/postgres" ]; + environment.persistence."/persist/state".directories = [ "/var/lib/postgresql" ]; }