diff --git a/home/programs/hypr/default.nix b/home/programs/hypr/default.nix index 39bfc4d..2a32a7b 100644 --- a/home/programs/hypr/default.nix +++ b/home/programs/hypr/default.nix @@ -38,7 +38,7 @@ exec-once = sh -c "sleep 1 && swww clear" #exec-once = swww img Downloads/PC\ Wallpapers/gifpixel/rooftop.gif #exec-once = mpvpaper '*' -o "video-scale-y=1.1 --gpu-context=wayland --vo=gpu --hwdec=vaapi-copy" videowork/bgloop.webm - exec = gtk-launch maestral + exec-once = gtk-launch maestral exec-once = waybar #exec-once = ags diff --git a/hosts/intelnuc/configuration.nix b/hosts/intelnuc/configuration.nix index a2e61f2..30d32ac 100644 --- a/hosts/intelnuc/configuration.nix +++ b/hosts/intelnuc/configuration.nix @@ -71,6 +71,12 @@ proxy_set_header X-Real-IP $remote_addr; proxy_pass http://123.123.123.123:3000; ''; + locations."/api/live/ws".extraConfig = '' + proxy_pass http://123.123.123.123:3000; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + ''; }; services.nginx.virtualHosts."grafana_second" = { forceSSL = false; @@ -80,6 +86,12 @@ proxy_set_header X-Real-IP $remote_addr; proxy_pass http://123.123.123.123:3000; ''; + locations."/api/live/ws".extraConfig = '' + proxy_pass http://123.123.123.123:3000; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + ''; }; system.stateVersion = "22.11";