Set umask of transmission

This commit is contained in:
rasmus-kirk
2025-05-26 18:18:34 +02:00
parent f0bd3f3923
commit 9f46fb9024
2 changed files with 3 additions and 2 deletions
+1 -2
View File
@@ -8,7 +8,6 @@ with lib; let
cfg = config.util-nixarr.services.cross-seed;
settingsFormat = pkgs.formats.json {};
settingsFile = settingsFormat.generate "settings.json" cfg.settings;
cross-seedPkg = pkgs.callPackage ../../../pkgs/cross-seed {};
configJs = pkgs.writeText "config.js" ''
// Loads a json.config
"use strict";
@@ -115,7 +114,7 @@ in {
Type = "simple";
User = cfg.user;
Group = cfg.group;
ExecStart = "${cross-seedPkg}/bin/cross-seed daemon";
ExecStart = "${pkgs.cross-seed}/bin/cross-seed daemon";
Restart = "on-failure";
};
};
+2
View File
@@ -371,6 +371,8 @@ in {
watch-dir-enabled = true;
watch-dir = "${downloadDir}/.watch";
umask = "002";
rpc-bind-address =
if cfg.vpn.enable
then "192.168.15.1"