diff --git a/modules/barman/default.nix b/modules/barman/default.nix index 5ae9ba2..3ff60cc 100644 --- a/modules/barman/default.nix +++ b/modules/barman/default.nix @@ -112,9 +112,9 @@ in services.barman = { description = "Run barman maintenance tasks"; path = runtimeInputs; - # environment = { - # PGPASSFILE = lib.mkIf (cfg.passwordsFile != null) cfg.passwordsFile; - # }; + environment = { + HOME = cfg.settings.barman.barman_home; + }; serviceConfig = { Type = "oneshot";