barman: set HOME to barman home dir
This commit is contained in:
parent
29ba701666
commit
950aece8a9
1 changed files with 3 additions and 3 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue