From b2383b865a977d1c51aea0cde3011669c3ace907 Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Tue, 26 Mar 2024 19:39:08 +0100 Subject: [PATCH] Changed barrier configuration --- modules/home/programs/barrier.nix | 6 +++--- modules/system/utils/firewall.nix | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/home/programs/barrier.nix b/modules/home/programs/barrier.nix index db00051..043618c 100644 --- a/modules/home/programs/barrier.nix +++ b/modules/home/programs/barrier.nix @@ -4,12 +4,12 @@ services.barrier.client = if hostName == "xv-desktop" then { - enable = true; + enable = false; } - else { enable = false; }; + else { enable = true; }; - home.packages = if hostName == "xv-laptop" then with pkgs; [ + home.packages = if hostName == "xv-desktop" then with pkgs; [ barrier ] else []; } diff --git a/modules/system/utils/firewall.nix b/modules/system/utils/firewall.nix index 1c04ccc..68e1686 100644 --- a/modules/system/utils/firewall.nix +++ b/modules/system/utils/firewall.nix @@ -3,7 +3,7 @@ { networking.firewall = { enable = true; - allowedTCPPorts = [ 53317 ]; - allowedUDPPorts = [ 53317 ]; + allowedTCPPorts = [ 53317 24800 ]; + allowedUDPPorts = [ 53317 24800 ]; }; }