diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2023-05-25 14:47:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-25 14:47:50 +0200 |
commit | 1b40315504ec14e696646a260afe825929417f7e (patch) | |
tree | 4ffdb0ea855c008dfe651fc657d10c2f9b1961cb /nixos/modules/services/video | |
parent | 88db8ca7ddac1cb961225e69faa5c423160e4f72 (diff) | |
parent | c3346f87c46d8abb7a2037714c8d4f848a140c58 (diff) |
Merge pull request #233092 from midchildan/chore/mirakurun/node18
Diffstat (limited to 'nixos/modules/services/video')
-rw-r--r-- | nixos/modules/services/video/mirakurun.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/modules/services/video/mirakurun.nix b/nixos/modules/services/video/mirakurun.nix index 5484515e7cb4..31f90650ba9a 100644 --- a/nixos/modules/services/video/mirakurun.nix +++ b/nixos/modules/services/video/mirakurun.nix @@ -154,6 +154,9 @@ in description = "Mirakurun user"; group = "video"; isSystemUser = true; + + # NPM insists on creating ~/.npm + home = "/var/cache/mirakurun"; }; services.mirakurun.serverSettings = { @@ -171,9 +174,10 @@ in wantedBy = [ "multi-user.target" ]; after = [ "network.target" ]; serviceConfig = { - ExecStart = "${mirakurun}/bin/mirakurun-start"; + ExecStart = "${mirakurun}/bin/mirakurun start"; User = username; Group = groupname; + CacheDirectory = "mirakurun"; RuntimeDirectory="mirakurun"; StateDirectory="mirakurun"; Nice = -10; |