aplysia: transmission
This commit is contained in:
parent
c077724191
commit
c64b898dd8
24
aplysia.nix
24
aplysia.nix
@ -56,10 +56,26 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall = {
|
services.transmission = {
|
||||||
# samba
|
enable = true;
|
||||||
allowedTCPPorts = [ 445 139 ];
|
settings = {
|
||||||
allowedUDPPorts = [ 137 138 ];
|
download-dir = "/mnt/aplysia/torrents";
|
||||||
|
incomplete-dir = "/mnt/aplysia/torrents";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.firewall = {
|
||||||
|
allowedTCPPorts = [
|
||||||
|
445 139 # samba
|
||||||
|
];
|
||||||
|
allowedUDPPorts = [
|
||||||
|
137 138 # samba
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
transmission
|
||||||
|
samba
|
||||||
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user