This commit is contained in:
2025-12-20 21:35:36 +00:00
parent 3e1db9cfd2
commit 8652fb7b07
2 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@
group = "postgres"; group = "postgres";
}; };
services.pgbackrest = { my.pgbackrest = {
enable = true; enable = true;
secretFile = "/run/secrets/mindy-pgbackrest"; secretFile = "/run/secrets/mindy-pgbackrest";
s3.bucket = "mindy-pgbackrest"; s3.bucket = "mindy-pgbackrest";

View File

@@ -5,9 +5,9 @@
... ...
}: }:
with lib; let with lib; let
cfg = config.services.pgbackrest; cfg = config.my.pgbackrest;
in { in {
options.services.pgbackrest = { options.my.pgbackrest = {
enable = mkEnableOption "pgBackRest PostgreSQL backup"; enable = mkEnableOption "pgBackRest PostgreSQL backup";
stanza = mkOption { stanza = mkOption {