aboutsummaryrefslogtreecommitdiff
path: root/systems/x86_64-linux/c-pc
diff options
context:
space:
mode:
Diffstat (limited to 'systems/x86_64-linux/c-pc')
-rw-r--r--systems/x86_64-linux/c-pc/network.nix12
1 files changed, 10 insertions, 2 deletions
diff --git a/systems/x86_64-linux/c-pc/network.nix b/systems/x86_64-linux/c-pc/network.nix
index aa7e075..db3ff79 100644
--- a/systems/x86_64-linux/c-pc/network.nix
+++ b/systems/x86_64-linux/c-pc/network.nix
@@ -14,9 +14,17 @@
firewall = {
enable = false;
- allowedTCPPorts = [ 8096 50000 ];
- allowedUDPPorts = [ ];
+ allowedTCPPorts = [
+ 8096 # jellyfin
+ 50000 # qbittorrent
+ ];
+
+ allowedUDPPorts = [
+ 51820 # wireguard
+ ];
};
+
+ wg-quick.interfaces.wg0.configFile = "/secrets/wireguard.conf";
};
environment.etc."wpa_supplicant.conf" = {