From 99dd5ec1fe5b66d5f5bfd1e7e0535e8dfe4e12e3 Mon Sep 17 00:00:00 2001 From: Jordan Holt Date: Sun, 5 Jan 2025 11:06:25 +0000 Subject: [PATCH] Add missing packages and enable nginx --- hosts/pi/default.nix | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/hosts/pi/default.nix b/hosts/pi/default.nix index 2d5aac4..2b9f5e4 100644 --- a/hosts/pi/default.nix +++ b/hosts/pi/default.nix @@ -368,19 +368,27 @@ "zone" ]; + extraPackages = python3Packages: with python3Packages; [ + pyeiscp + zeroconf + ]; + customLovelaceModules = with pkgs.home-assistant-custom-lovelace-modules; [ mushroom ]; }; - services.nginx.virtualHosts."home.mesh.vimium.net" = { - forceSSL = false; - extraConfig = '' - proxy_buffering off; - ''; - locations."/" = { - proxyPass = "http://[::1]:8123"; - proxyWebsockets = true; + services.nginx = { + enable = true; + virtualHosts."home.mesh.vimium.net" = { + forceSSL = false; + extraConfig = '' + proxy_buffering off; + ''; + locations."/" = { + proxyPass = "http://[::1]:8123"; + proxyWebsockets = true; + }; }; };