diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2022-12-11 06:01:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-11 06:01:07 +0000 |
commit | 97267158e3126025870526a55e5ceea99908225e (patch) | |
tree | 0b84c7a0e16df96c7003b2892805c304faa445b4 /nixos/modules | |
parent | 1ec3bfc9dbdbb1f84aaff14daf048674e735bf07 (diff) | |
parent | ffa34c5244c5787b94d0ded981592d38be08a8ec (diff) |
Merge master into staging-next
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/home-automation/evcc.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/modules/services/home-automation/evcc.nix b/nixos/modules/services/home-automation/evcc.nix index c12ba9d0c1e23..efa2cf2443139 100644 --- a/nixos/modules/services/home-automation/evcc.nix +++ b/nixos/modules/services/home-automation/evcc.nix @@ -48,7 +48,10 @@ in wantedBy = [ "multi-user.target" ]; - + environment.HOME = "/var/lib/evcc"; + path = with pkgs; [ + glibc # requires getent + ]; serviceConfig = { ExecStart = "${package}/bin/evcc --config ${configFile} ${escapeShellArgs cfg.extraArgs}"; CapabilityBoundingSet = [ "" ]; @@ -77,6 +80,7 @@ in ProtectKernelModules = true; ProtectKernelTunables = true; ProtectProc = "invisible"; + StateDirectory = "evcc"; SystemCallArchitectures = "native"; SystemCallFilter = [ "@system-service" |