!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

512 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant135 Servers

Load older messages


SenderMessageTime
16 Apr 2025
@conr:mozilla.orgconr
    home-assistant = {
      enable = true;
      extraComponents = [
        # Components required to complete the onboarding
        "analytics"
        "google_translate"
        "met"
        "radio_browser"
        "shopping_list"
        # Recommended for fast zlib compression
        # https://www.home-assistant.io/integrations/isal
        "isal"
      ];
      config = {
        # Includes dependencies for a basic setup
        # https://www.home-assistant.io/integrations/default_config/
        default_config = { };
        http = {
          server_host = "::1";
          trusted_proxies = [ "::1" ];
          use_x_forwarded_for = true;
        };
      };
    };
23:28:25
@hexa:lossy.network@hexa:lossy.networkand nginx config23:28:38
@conr:mozilla.orgconr
nginx = {
  enable = true;
  recommendedProxySettings = true;
  virtualHosts."xxx.conr.run" = {
    forceSSL = true;
    useACMEHost = "xxx.conr.run";
    extraConfig = ''
      proxy_buffering off;
    '';
    locations."/" = {
      proxyPass = "http://[::1]:8123";
      proxyWebsockets = true;
    };
  };
};

};

23:29:19
@hexa:lossy.network@hexa:lossy.networkso why doesn't it listen on 8123 then23:29:32
@conr:mozilla.orgconri think i disabled ipv623:31:09
@conr:mozilla.orgconri only use ipv4 with WG23:31:23
@conr:mozilla.orgconr so change ::1 to 127.0.0.1? 23:32:05
@hexa:lossy.network@hexa:lossy.networkpossibly23:33:53
@hexa:lossy.network@hexa:lossy.networkhow did you disable ipv6?23:34:00
@conr:mozilla.orgconri am not sure but all my wg config is ipv4 addresses only23:35:02
@conr:mozilla.orgconrthat fixed it23:35:41
@hexa:lossy.network@hexa:lossy.network but 127.0.0.1 and ::1 are on lo 23:37:52
@conr:mozilla.orgconri’m not following23:43:08
@conr:mozilla.orgconr127.0.0.1 is loopback for ipv4 and ::1 is loopback for ipv6.23:43:31
@hexa:lossy.network@hexa:lossy.networkyes, they are on lo23:44:06
@hexa:lossy.network@hexa:lossy.network* yes, they are on the lo interface23:44:10
@hexa:lossy.network@hexa:lossy.networkif home-assistant and nginx run on the same machine that should work23:44:24
@conr:mozilla.orgconrso was your comment that its ok?23:44:40
@hexa:lossy.network@hexa:lossy.networkyour messaging is super unclear23:45:06
@hexa:lossy.network@hexa:lossy.networkRedacted or Malformed Event23:45:15
@conr:mozilla.orgconr
In reply to @hexa:lossy.network
but 127.0.0.1 and ::1 are on lo
what do you mean by this?
23:45:20
@hexa:lossy.network@hexa:lossy.networkhere23:45:22
@hexa:lossy.network@hexa:lossy.networkwg is for remote connections23:45:33
@hexa:lossy.network@hexa:lossy.networkwg will connect to your nginx23:45:36
@hexa:lossy.network@hexa:lossy.networkand nginx will connect to the local home-assistant23:45:42
@conr:mozilla.orgconr right so 127.0.0.1 is ok to use with HA? 23:46:01
@hexa:lossy.network@hexa:lossy.networkyes23:46:23
@conr:mozilla.orgconrso whats the best way to find HA plugins on nix? search nixos.org packages?23:49:16
@hexa:lossy.network@hexa:lossy.networkyes23:50:00
@conr:mozilla.orgconrwhats the .tests mean?23:50:16

Show newer messages


Back to Room ListRoom Version: 6