forward port

This commit is contained in:
Vivian 2023-11-26 17:29:50 +01:00
parent a52aa3565e
commit c42053fe2b
2 changed files with 4 additions and 1 deletions

View file

@ -6,6 +6,9 @@ in {
networking.interfaces.eth0.useDHCP = true;
system.stateVersion = "22.05";
networking.firewall.allowedTCPPorts = [ config.services.rtorrent.port ];
networking.firewall.allowedUDPPorts = [ config.services.rtorrent.port ];
fileSystems."/mnt/storage" = {
device = "storage:/mnt/storage";
fsType = "nfs";

View file

@ -76,7 +76,7 @@ let
inherit tags;
targetHost = ip;
allowLocalDeployment = type == "local";
targetUser = "victor"; # Defaults to $USER
targetUser = null; # Defaults to $USER
};
};
};