diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2022-08-09 21:47:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-09 21:47:34 -0500 |
commit | 0ac85cc7e8a34a93e914b532ff9bbd55a4b38b6b (patch) | |
tree | 9fb20ba2fefacedf52923d486f5637748b6909bc /nixos | |
parent | 08051c14e490c1988af0ce812d0927ce1305c9b4 (diff) | |
parent | 0b98d77ff50b49d1fe073d17dcf18aa3895ee9fd (diff) |
Merge pull request #184003 from Izorkin/update-peertube
peertube: 4.2.1 -> 4.2.2
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/web-apps/peertube.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/web-apps/peertube.nix b/nixos/modules/services/web-apps/peertube.nix index 2fb05209c5c8e..c5a80e2d7d9d7 100644 --- a/nixos/modules/services/web-apps/peertube.nix +++ b/nixos/modules/services/web-apps/peertube.nix @@ -11,6 +11,7 @@ let NODE_CONFIG_DIR = "/var/lib/peertube/config"; NODE_ENV = "production"; NODE_EXTRA_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"; + NPM_CONFIG_CACHE = "/var/cache/peertube/.npm"; NPM_CONFIG_PREFIX = cfg.package; HOME = cfg.package; }; @@ -425,6 +426,9 @@ in { # State directory and mode StateDirectory = "peertube"; StateDirectoryMode = "0750"; + # Cache directory and mode + CacheDirectory = "peertube"; + CacheDirectoryMode = "0750"; # Access write directories ReadWritePaths = cfg.dataDirs; # Environment |