diff options
| author | Franck Cuny <franck@fcuny.net> | 2026-01-24 11:19:17 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2026-01-24 11:19:17 -0800 |
| commit | 3e573e6dfb9b4e0897cf4f4803fd1e2bcd7bfc30 (patch) | |
| tree | eb891e543232518c4146ad68ea5e3b1369af025b /profiles/postgresql.nix | |
| parent | drop plymouth (diff) | |
| download | infra-3e573e6dfb9b4e0897cf4f4803fd1e2bcd7bfc30.tar.gz | |
persist some state
Diffstat (limited to '')
| -rw-r--r-- | profiles/postgresql.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/profiles/postgresql.nix b/profiles/postgresql.nix index 6e473ad..a128a97 100644 --- a/profiles/postgresql.nix +++ b/profiles/postgresql.nix @@ -1,4 +1,4 @@ -{ ... }: +{ config, ... }: { services.postgresql = { enable = true; @@ -17,4 +17,8 @@ enable = true; compression = "zstd"; }; + + environment.persistence."/persist/save".directories = [ + config.services.postgresqlBackup.location + ]; } |
