diff --git a/configs/pepe/home-assistant.nix b/configs/pepe/home-assistant.nix index 97abf1a..83f8674 100644 --- a/configs/pepe/home-assistant.nix +++ b/configs/pepe/home-assistant.nix @@ -284,9 +284,17 @@ in { virtualHosts = { "iot.pepe.private" = { serverAliases = [ "hass.pepe.private" "home.pepe.private" ]; + extraConfig = '' + proxy_buffering off; + ''; locations."/" = { + proxyPass = "http://127.0.0.1:8123"; proxyWebsockets = true; - proxyPass = "http://localhost:8123"; + extraConfig = '' + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $connection_upgrade; + ''; }; }; }; diff --git a/configs/sterni/packages.nix b/configs/sterni/packages.nix index 97ca0d5..bfd31de 100644 --- a/configs/sterni/packages.nix +++ b/configs/sterni/packages.nix @@ -7,7 +7,6 @@ in { environment.systemPackages = with pkgs; [ - # bluetooth gui blueberry @@ -34,7 +33,6 @@ in { # foto #fuji-cam-wifi-tool - tor-browser-bundle-bin #(tor-browser-bundle-bin.overrideAttrs (old: rec { # version = "10.0.15"; diff --git a/pkgs/default.nix b/pkgs/default.nix index c58fc79..c9cab4e 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -63,6 +63,4 @@ in { sha256 = "04j6gcb6ayrcf7rxr0bkgd48zppiryhdyv7mvp0q12ngdkf2yagd"; }) { }; - - }