From 18d2a55b93a55347972e1f565aea044ea4baef76 Mon Sep 17 00:00:00 2001 From: Alex Davies Date: Sat, 11 May 2024 17:25:12 -0300 Subject: [PATCH] Enable zerotier, fixup firewall --- flake.nix | 2 +- nixos/home-assistant.nix | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index f11c3bf..283289c 100644 --- a/flake.nix +++ b/flake.nix @@ -94,7 +94,7 @@ modules = [ ./nixos/configuration.nix ./nixos/home-assistant.nix - #./nixos/zerotier.nix + ./nixos/zerotier.nix ]; }; }; diff --git a/nixos/home-assistant.nix b/nixos/home-assistant.nix index 3af217c..3ab9263 100644 --- a/nixos/home-assistant.nix +++ b/nixos/home-assistant.nix @@ -55,6 +55,9 @@ history = {}; }; }; + + networking.firewall.allowedTCPPorts = [ 8123 ]; + #Break touchscreen support #${pkgs.wlr-randr}/bin/wlr-randr --output eDP-1 --transform 90 # Adjust command as needed services.cage = {