Skip to content

Commit

Permalink
feat(nuc): Enable transmission
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Dec 21, 2023
1 parent 7b2197a commit 651479f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions hosts/nuc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
ssh.enable = true;
syncthing.enable = true;
tailscale.enable = true;
transmission.enable = true;
};

# theme.active = "alucard";
Expand Down
9 changes: 4 additions & 5 deletions modules/services/transmission.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ in {
config = mkIf cfg.enable {
services.transmission = {
enable = true;
home = "${config.user.home}/torrents";
settings = {
download-dir = "/data/media/downloads";
incomplete-dir-enabled = true;
rpc-whitelist = "127.0.0.1,192.168.*.*";
rpc-host-whitelist = "*";
Expand All @@ -25,10 +25,9 @@ in {
};
};

networking.firewall = {
allowedTCPPorts = [51413];
allowedUDPPorts = [51413];
};
rpc-bind-address = "0.0.0.0";
services.transmission.rpc-port = true;
services.transmission.openPeerPorts = true;

user.extraGroups = ["transmission"];
};
Expand Down

0 comments on commit 651479f

Please sign in to comment.