diff options
author | midchildan <git@midchildan.org> | 2023-05-21 03:48:33 +0900 |
---|---|---|
committer | midchildan <git@midchildan.org> | 2023-05-25 03:44:13 +0900 |
commit | c3346f87c46d8abb7a2037714c8d4f848a140c58 (patch) | |
tree | ced688e11199db271fade0aa265b5c7ac72c6db9 /nixos/modules/services/video | |
parent | 532f8cd016bcce18daa002e64ff6d5fef5a4e6a7 (diff) |
mirakurun: use node 18
Relates to #229910.
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; |