valkyrie: Set HOME variable in coredns service env
This commit is contained in:
parent
b708e4f334
commit
4a624b20cb
1 changed files with 9 additions and 1 deletions
|
@ -24,5 +24,13 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.coredns.serviceConfig.EnvironmentFile = [ config.sops.secrets.coredns-env.path ];
|
systemd.services.coredns = {
|
||||||
|
environment = {
|
||||||
|
HOME = "%S/coredns";
|
||||||
|
};
|
||||||
|
serviceConfig = {
|
||||||
|
StateDirectory = "coredns";
|
||||||
|
EnvironmentFile = [ config.sops.secrets.coredns-env.path ];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue