barman: set HOME to barman home dir

This commit is contained in:
Erwin Boskma 2024-10-15 16:38:32 +02:00
parent 29ba701666
commit 950aece8a9
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

View file

@ -112,9 +112,9 @@ in
services.barman = { services.barman = {
description = "Run barman maintenance tasks"; description = "Run barman maintenance tasks";
path = runtimeInputs; path = runtimeInputs;
# environment = { environment = {
# PGPASSFILE = lib.mkIf (cfg.passwordsFile != null) cfg.passwordsFile; HOME = cfg.settings.barman.barman_home;
# }; };
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";