| 10 Nov 2024 |
johnhamelink | Hi, I just noticed that in the nixos.wiki page for home-assistant, it mentions that the declarative style might not be supported going forward. I just wanted to flag that I'm using it quite successfully. You can see most of my config here - I have quite an extensive config and I do plan on building it out further going forward. I was very much enjoying being able to use nix to split out and organise the home assistant config. https://git.sr.ht/~johnhamelink/nix/tree/master/item/os/hosts/sun/services/home-assistant | 00:54:07 |
CRTified | In reply to @johnhamelink:matrix.org Hi, I just noticed that in the nixos.wiki page for home-assistant, it mentions that the declarative style might not be supported going forward. I just wanted to flag that I'm using it quite successfully. You can see most of my config here - I have quite an extensive config and I do plan on building it out further going forward. I was very much enjoying being able to use nix to split out and organise the home assistant config. https://git.sr.ht/~johnhamelink/nix/tree/master/item/os/hosts/sun/services/home-assistant Do you have a declarative way of configuring e.g. the mqtt component, or do you have to enter credentials by yourself in the HA GUI? I didn't spot anything related to mqtt config besides the component definition in your config, so I might have missed it | 02:56:30 |
CRTified | * Do you have a declarative way of configuring e.g. the mqtt integration, or do you have to enter credentials by yourself in the HA GUI? I didn't spot anything related to mqtt config besides the component definition in your config, so I might have missed it | 02:57:00 |
@hexa:lossy.network | mqtt went fully guy | 02:59:48 |
CRTified | If not: that's something that used to be possible via YAML (i.e., declarative), and is not possible anymore since 2022.3 | 03:02:03 |
CRTified | In reply to @hexa:lossy.network mqtt went fully guy That's why I explicitly mentioned it, as it's a great example of what's meant with "declarative style might not be supported going forward" | 03:02:53 |
CRTified | I just wasn't fast enough with finding the correct version for that | 03:03:23 |
johnhamelink |
In reply to
CRTified
In reply to @johnhamelink:matrix.org Hi, I just noticed that in the nixos.wiki page for home-assistant, it mentions that the declarative style might not be supported going forward. I just wanted to flag that I'm using it quite successfully. You can see most of my config here - I have quite an extensive config and I do plan on building it out further going forward. I was very much enjoying being able to use nix to split out and organise the home assistant config. https://git.sr.ht/~johnhamelink/nix/tree/master/item/os/hosts/sun/services/home-assistant Do you have a declarative way of configuring e.g. the mqtt component, or do you have to enter credentials by yourself in the HA GUI? I didn't spot anything related to mqtt config besides the component definition in your config, so I might have missed it
I have mosquitto set up declaratively, including setting up ACL. I think I'm providing the MQTT credentials to HA through the UI though - I don't fully remember as it was one of the first things I did for this config | 14:58:36 |
johnhamelink | Worth noting my config has sections of it - particularly around connectivity & personal info - encrypted using git-crypt | 15:00:01 |
| @sbc64:matrix.org left the room. | 20:02:04 |
| 11 Nov 2024 |
| ginkogruen joined the room. | 09:15:20 |
| signaleleven joined the room. | 14:50:09 |
| 13 Nov 2024 |
| Inayet joined the room. | 22:15:00 |
| 15 Nov 2024 |
| rane [they/them] left the room. | 06:22:02 |
| zoechi joined the room. | 10:15:44 |
mfed3 | In reply to @johnhamelink:matrix.org Hi, I just noticed that in the nixos.wiki page for home-assistant, it mentions that the declarative style might not be supported going forward. I just wanted to flag that I'm using it quite successfully. You can see most of my config here - I have quite an extensive config and I do plan on building it out further going forward. I was very much enjoying being able to use nix to split out and organise the home assistant config. https://git.sr.ht/~johnhamelink/nix/tree/master/item/os/hosts/sun/services/home-assistant it is most definitely supported still and I'm using it for a many thousands of lines flake based config including installed packages and plugins, definitions and customizations of elements, helpers/groupings, alarm systems, and automations. I actually added a bunch of examples on the nixos wiki to help people here: https://wiki.nixos.org/wiki/Home_Assistant#Entity_Customization | 16:11:19 |
ibizaman | In reply to @johnhamelink:matrix.org Hi, I just noticed that in the nixos.wiki page for home-assistant, it mentions that the declarative style might not be supported going forward. I just wanted to flag that I'm using it quite successfully. You can see most of my config here - I have quite an extensive config and I do plan on building it out further going forward. I was very much enjoying being able to use nix to split out and organise the home assistant config. https://git.sr.ht/~johnhamelink/nix/tree/master/item/os/hosts/sun/services/home-assistant Note that nixos.wiki is deprecated. Long story short, the new home is wiki.nixos.org | 17:45:46 |
| 16 Nov 2024 |
| sheeley left the room. | 02:25:39 |
| Viorel-Cătălin Răpițeanu changed their display name from @catalin:one.ems.host to Viorel-Cătălin Răpițeanu. | 18:22:43 |
| 17 Nov 2024 |
mfed3 | Hey hexa that issue you linked above was just fixed after a rebuild now that https://github.com/NixOS/nixpkgs/pull/354687 was merged into nixos-unstable thanks again for the help! | 07:01:46 |
mfed3 | The one about the on offs in nix code getting converted to true falses in yaml | 07:02:23 |
mfed3 | Anyone else try to install the Starlink integration? It seems like it doesn't recognize that when I include it in my config, that it needs to rebuild anything | 07:09:06 |
mfed3 | services.home-assistant = {
enable = true;
extraComponents = [
"esphome"
"met"
"radio_browser"
"isal"
# dded-components
"zha"
"backup"
"reolink"
"local_todo"
"starlink"
];
config = {
default_config = {};
};
};
| 07:09:28 |
mfed3 | I included it just like all my other components and when I rebuild doesn't care that I added it, and when I try to add the integration in the hass interface i get the error
Config flow could not be loaded: {"message":"Invalid handler specified"}
| 07:10:58 |
mfed3 | As if it isn't installed, similar error if I try to add anything else that I didn't add the extra component for in my config | 07:11:31 |
mfed3 | * services.home-assistant = {
enable = true;
extraComponents = [
"esphome"
"met"
"radio_browser"
"isal"
# added-components
"zha"
"backup"
"reolink"
"local_todo"
"starlink"
];
config = {
default_config = {};
};
};
| 07:11:40 |
mfed3 | * services.home-assistant = {
enable = true;
extraComponents = [
"esphome"
"met"
"radio_browser"
"isal"
# added-components
"zha"
"backup"
"reolink"
"local_todo"
"starlink"
];
| 07:11:57 |
mfed3 | Ahh I found a known issue for this, it has been reported | 07:15:45 |
mfed3 | https://github.com/NixOS/nixpkgs/issues/310129 | 07:15:48 |
mfed3 | * https://github.com/NixOS/nixpkgs/issues/310129 home-assistant extraComponents "starlink" fails at runtime because of missing "starlink_grpc" dependency #310129
| 07:17:08 |