diff options
author | midchildan <git@midchildan.org> | 2022-08-14 16:03:51 +0900 |
---|---|---|
committer | midchildan <git@midchildan.org> | 2022-08-14 16:03:51 +0900 |
commit | df1243d8569ae15410e44e87505a03d98c0b1954 (patch) | |
tree | c3d4e90b3e9a79c7326a29ff1e2f25b5234e18ce /nixos/modules/services/video | |
parent | 9341cd89e90b0d8c98f803ee5ce132e043454ce0 (diff) |
nixos/epgstation: fix startup issue
Diffstat (limited to 'nixos/modules/services/video')
-rw-r--r-- | nixos/modules/services/video/epgstation/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/video/epgstation/default.nix b/nixos/modules/services/video/epgstation/default.nix index 51f71389263c..ef502de8ea24 100644 --- a/nixos/modules/services/video/epgstation/default.nix +++ b/nixos/modules/services/video/epgstation/default.nix @@ -266,6 +266,9 @@ in description = "EPGStation user"; group = config.users.groups.epgstation.name; isSystemUser = true; + + # NPM insists on creating ~/.npm + home = "/var/cache/epgstation"; }; users.groups.epgstation = { }; @@ -325,6 +328,7 @@ in ExecStartPre = "+${preStartScript}"; User = username; Group = groupname; + CacheDirectory = "epgstation"; StateDirectory = "epgstation"; LogsDirectory = "epgstation"; ConfigurationDirectory = "epgstation"; |