From 950aece8a967c367d307b74b7ef0af9039161ed6 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Tue, 15 Oct 2024 16:38:32 +0200 Subject: [PATCH] barman: set HOME to barman home dir --- modules/barman/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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";