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 = {
|
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";
|
||||||
|
|
Loading…
Reference in a new issue