Migrate torrents

This commit is contained in:
Paul-Henri Froidmont 2021-12-10 03:02:34 +01:00
parent 424e8355f9
commit 59d9750653
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
5 changed files with 214 additions and 2 deletions

View file

@ -9,7 +9,19 @@
../modules/jellyfin.nix
../modules/stb.nix
../modules/monero.nix
../modules/torrents.nix
];
networking.firewall.allowedTCPPorts = [ 80 443 18080 ];
networking.nat.enable = true;
networking.nat.internalInterfaces = [ "ve-+" ];
networking.nat.externalInterface = "enp2s0";
users.users.www-data = {
uid = 993;
isSystemUser = true;
group = config.users.groups.www-data.name;
};
users.groups.www-data = { gid = 991; };
}