| 14 Nov 2021 |
Mic92 | I am back in the voice assistant buisness: https://github.com/coqui-ai/TTS/pull/893 | 20:34:48 |
| 15 Nov 2021 |
| seeMee joined the room. | 20:10:15 |
seeMee | 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 | the zigbee2mqtt version in nixos is somewhat dated unfortunately | 20:12:42 |
@hexa:lossy.network | there is a module for it though | 20:12:51 |
seeMee | does the same stand true for zha? | 20:14:15 |
@hexa:lossy.network | should work just fine | 20:14:24 |
@hexa:lossy.network | if you run nixos-stable check the page on the nixos.wiki | 20:14:45 |
seeMee | I think then I will just get devices I can use with zha and still go your way then 😋 | 20:15:23 |
seeMee | 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 |
seeMee | I 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 | haha | 23:06:55 |
@hexa:lossy.network | you did override services.home-assistant.package? | 23:07:04 |
@hexa:lossy.network | https://search.nixos.org/options?channel=unstable&show=services.home-assistant.package&from=0&size=50&sort=relevance&type=packages&query=home-assistant.package | 23:07:34 |
@hexa:lossy.network | we disable the checks via the package attribute by default, if you overwrite it you have to disable them yourself | 23:07:58 |
seeMee | oh 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 | the start is a bit quirky, it gets better though | 23:17:36 |
@hexa:lossy.network | also 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 | for 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 |
seeMee | 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 | no need to set tests, not sure what is supposed to do | 09:47:26 |
@hexa:lossy.network | and you can nest overrides | 09:47:49 |
@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 |
seeMee | yeah I was stiching many excerpts from many repos 😅 | 09:48:18 |
@hexa:lossy.network | doCheck/dontStrip are legacy settings in my override 😀 | 09:48:27 |
@hexa:lossy.network | that's how one starts out, yeah | 09:48:39 |
seeMee | 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 | * 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 | * 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 | I'll update the wiki | 09:51:33 |