!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
14 Nov 2021
@mic92:nixos.devMic92I am back in the voice assistant buisness: https://github.com/coqui-ai/TTS/pull/89320:34:48
15 Nov 2021
@simisimis:matrix.orgseeMee joined the room.20:10:15
@simisimis:matrix.orgseeMee
In reply to @hexa:lossy.network
addons are really just additional services (like esphomes webinterface, zigbee2mqtt) embedded as an iframe, so shrug
I am now deciding now to install home assistant on my nixos headless box, I am planning on using zigbee2mqtt, should I then try and install it some other way?
20:12:11
@hexa:lossy.network@hexa:lossy.networkthe zigbee2mqtt version in nixos is somewhat dated unfortunately20:12:42
@hexa:lossy.network@hexa:lossy.networkthere is a module for it though20:12:51
@simisimis:matrix.orgseeMeedoes the same stand true for zha?20:14:15
@hexa:lossy.network@hexa:lossy.networkshould work just fine20:14:24
@hexa:lossy.network@hexa:lossy.networkif you run nixos-stable check the page on the nixos.wiki20:14:45
@simisimis:matrix.orgseeMeeI think then I will just get devices I can use with zha and still go your way then 😋20:15:23
@simisimis:matrix.orgseeMee
In reply to @hexa:lossy.network
if you run nixos-stable check the page on the nixos.wiki
I am running stable/unstable hibrid. but I will start from wiki. thx
20:17:54
@simisimis:matrix.orgseeMeeI wanted to build something very basic to start from, so all I did - enabled hass, set nginx and postgres and now after of pytestcheckphase I am starting to worry about frying my intel nuc cause it seems it's preparing to fly 😅 and it's only 50% in with 2.5G downloaded. did I misconfigure something or is this expected? 23:05:52
@hexa:lossy.network@hexa:lossy.networkhaha23:06:55
@hexa:lossy.network@hexa:lossy.networkyou did override services.home-assistant.package?23:07:04
@hexa:lossy.network@hexa:lossy.networkhttps://search.nixos.org/options?channel=unstable&show=services.home-assistant.package&from=0&size=50&sort=relevance&type=packages&query=home-assistant.package23:07:34
@hexa:lossy.network@hexa:lossy.networkwe disable the checks via the package attribute by default, if you overwrite it you have to disable them yourself23:07:58
@simisimis:matrix.orgseeMeeoh I saw that line, skipped it, as I did not want to copy paste many things and then have no clue what those options do. well now I know 😅23:13:07
@hexa:lossy.network@hexa:lossy.networkthe start is a bit quirky, it gets better though23:17:36
@hexa:lossy.network@hexa:lossy.networkalso home-assistant on nixos works a bit differently. it will be the only source of dependencies, there will be no pip installs from home-assistants end.23:18:21
@hexa:lossy.network@hexa:lossy.networkfor a component to be supported it needs to appear in the config attribute set, even if it does not have a yaml config.23:18:49
16 Nov 2021
@simisimis:matrix.orgseeMee
In reply to @hexa:lossy.network
we disable the checks via the package attribute by default, if you overwrite it you have to disable them yourself

not sure if I did it correctly but surely learned some nix along the way. this got my flake to successfully build:

  services.home-assistant = {
    enable = true;
    package = let
      homeAssistant = unstable.home-assistant.overrideAttrs (oldAttrs: {
        tests = [ ];
        doInstallCheck = false;
      });
    in
      homeAssistant.override {
      extraPackages = ps: [
        ps.psycopg2
      ];
    };
  };
09:47:01
@hexa:lossy.network@hexa:lossy.network no need to set tests, not sure what is supposed to do 09:47:26
@hexa:lossy.network@hexa:lossy.networkand you can nest overrides 09:47:49
@hexa:lossy.network@hexa:lossy.network
    package = (pkgs.home-assistant.override {
      extraPackages = ps: with ps; [ psycopg2 ];
    }).overrideAttrs (old: {
      patches = old.patches ++ [
        ./patches/mpd-browser.patch
        ./patches/warnwetter.patch
        ./patches/static-symlinks.patch
      ];
      doCheck = false;
      dontStrip = true;
      doInstallCheck = false;
    });
09:48:02
@simisimis:matrix.orgseeMeeyeah I was stiching many excerpts from many repos 😅09:48:18
@hexa:lossy.network@hexa:lossy.networkdoCheck/dontStrip are legacy settings in my override 😀09:48:27
@hexa:lossy.network@hexa:lossy.networkthat's how one starts out, yeah09:48:39
@simisimis:matrix.orgseeMee
In reply to @hexa:lossy.network
    package = (pkgs.home-assistant.override {
      extraPackages = ps: with ps; [ psycopg2 ];
    }).overrideAttrs (old: {
      patches = old.patches ++ [
        ./patches/mpd-browser.patch
        ./patches/warnwetter.patch
        ./patches/static-symlinks.patch
      ];
      doCheck = false;
      dontStrip = true;
      doInstallCheck = false;
    });
oh I like this more! thx
09:48:51
@hexa:lossy.network@hexa:lossy.network *
    package = (pkgs.home-assistant.override {
      extraPackages = ps: with ps; [ psycopg2 ];
    }).overrideAttrs (old: {
      patches = old.patches ++ [
        ./patches/mpd-browser.patch
        ./patches/warnwetter.patch
        ./patches/static-symlinks.patch
      ];
      doInstallCheck = false;
    });
09:48:52
@hexa:lossy.network@hexa:lossy.network *
    package = (pkgs.home-assistant.override {
      extraPackages = ps: with ps; [ psycopg2 ];
    }).overrideAttrs (oldAttrs: {
      patches = oldAttrs.patches or [] ++ [
        ./patches/mpd-browser.patch
        ./patches/warnwetter.patch
        ./patches/static-symlinks.patch
      ];
      doInstallCheck = false;
    });
09:51:06
@hexa:lossy.network@hexa:lossy.networkI'll update the wiki09:51:33

There are no newer messages yet.


Back to Room ListRoom Version: 6