summaryrefslogtreecommitdiff
path: root/machines/dragon.nix
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-04-29 18:24:23 -0400
committerKjetil Orbekk <kj@orbekk.com>2023-04-29 18:24:23 -0400
commit397acb309c245c52064eb2500c3ee3df2bbfc97f (patch)
tree0abadc0716fd8d41d2a0913d8f7b5b8b85e39c12 /machines/dragon.nix
parent654ef64e5b9e39213cd19610c0eabe2918a2f178 (diff)
Dragon cahnges
Diffstat (limited to 'machines/dragon.nix')
-rw-r--r--machines/dragon.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/machines/dragon.nix b/machines/dragon.nix
index 317d1b6..bc585ec 100644
--- a/machines/dragon.nix
+++ b/machines/dragon.nix
@@ -54,6 +54,11 @@ in {
settings.peer-port = 56732;
settings.rpc-bind-address = "0.0.0.0";
settings.rpc-whitelist = "172.20.*.*";
+ settings.alt-speed-time-enabled = true;
+ settings.alt-speed-time-begin = 6 * 60; # 06:00
+ settings.alt-speed-time-end = 23 * 60 + 59; # 23:59
+ settings.alt-speed-up = 0;
+ settings.alt-speed-down = 0;
};
systemd.services.transmission.serviceConfig.NetworkNamespacePath = "/var/run/netns/vpn";
users.users.transmission.extraGroups = ["readonly"];