!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
31 Dec 2024
@laurynasp:matrix.orglaurynasp *

Hi, I have a question about home-assistant's /var/lib/hass/secrets.yaml file.

I would like to generate it using modern secret management tool. What tools do ppl use for that?
I am leaning towards using sops-nix. In fact, I found partial example on Mic92/sops-nix README.md

sops.secrets."home-assistant-secrets.yaml" = { owner = "hass"; path = "/var/lib/hass/secrets.yaml"; };

What should the structure of sops' secrets.yaml file be?

I am struggling to figure out how to include home-assistant-secrets.yaml into main sops' secrets.yaml.
I tried using sops-nix PR (github:Mic92/sops-nix?rev=c6233857ac1f096f139ca335c003efbda6087311 ) that allows multiple defoultSopsFiles, but I keep getting error such as below

/nix/store/sxa9p6k23yydwndlipsrpsa1b4vc50q0-sops-install-secrets-0.0.1/bin/sops-install-secrets: Manifest is not valid: Failed to find valid secret hass-secrets.yaml in [/nix/store/wwl8rw4csyq35886i7l9blaghylg11l0-source/secrets.yaml /nix/store/wwl8rw4csyq35886i7l9blaghylg11l0-source/hass-secrets.yaml]

P.s. This is perhaps more of the sops-nix questions, but I couldn't find a room for it

13:49:29
@laurynasp:matrix.orglaurynasp *

Hi, I have a question about home-assistant's /var/lib/hass/secrets.yaml file.

I would like to generate it using modern secret management tool. What tools do ppl use for that?
I am leaning towards using sops-nix. In fact, I found partial example on Mic92/sops-nix README.md

sops.secrets."home-assistant-secrets.yaml" = { owner = "hass"; path = "/var/lib/hass/secrets.yaml"; };

What should the structure of sops' secrets.yaml file be?

I am struggling to figure out how to incorporate home-assistant-secrets.yaml into main sops' secrets.yaml.
I tried using sops-nix PR (github:Mic92/sops-nix?rev=c6233857ac1f096f139ca335c003efbda6087311 ) that allows multiple defoultSopsFiles, but I keep getting errors such as below

/nix/store/sxa9p6k23yydwndlipsrpsa1b4vc50q0-sops-install-secrets-0.0.1/bin/sops-install-secrets: Manifest is not valid: Failed to find valid secret hass-secrets.yaml in [/nix/store/wwl8rw4csyq35886i7l9blaghylg11l0-source/secrets.yaml /nix/store/wwl8rw4csyq35886i7l9blaghylg11l0-source/hass-secrets.yaml]

P.s. This is perhaps more of the sops-nix questions, but I couldn't find a dedicated room for sops-nix

13:50:58
@laurynasp:matrix.orglaurynasp *

Hi, I have a question about home-assistant's /var/lib/hass/secrets.yaml file.

I would like to generate it using modern secret management tool. What tools do ppl use for that?
I am leaning towards using sops-nix. In fact, I found partial example on Mic92/sops-nix README.md

sops.secrets."home-assistant-secrets.yaml" = { owner = "hass"; path = "/var/lib/hass/secrets.yaml"; };

What should the structure of sops' secrets.yaml file be?

I am struggling to figure out how to incorporate home-assistant-secrets.yaml into main sops' secrets.yaml.
I tried using sops-nix PR (github:Mic92/sops-nix?rev=c6233857ac1f096f139ca335c003efbda6087311 ) that allows multiple defoultSopsFiles, but I keep getting errors such as below

/nix/store/sxa9p6k23yydwndlipsrpsa1b4vc50q0-sops-install-secrets-0.0.1/bin/sops-install-secrets: Manifest is not valid: Failed to find valid secret hass-secrets.yaml in [/nix/store/wwl8rw4csyq35886i7l9blaghylg11l0-source/secrets.yaml /nix/store/wwl8rw4csyq35886i7l9blaghylg11l0-source/hass-secrets.yaml]

P.s. This is perhaps more of the sops-nix questions, but I couldn't find a dedicated room for sops-nix

13:52:12
@k900:0upti.meK900I use agenix personally13:56:09
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/NixOS/nixpkgs/pull/369680 music-assistant 2.3.4 update14:09:40
@crtified:crtified.meCRTifiedimage.png
Download image.png
14:22:55
@crtified:crtified.meCRTifiedmine looks like this14:22:57
@crtified:crtified.meCRTified The trick is that | allows multiline plaintext, and that allows you to put YAML inside it 14:26:00
@laurynasp:matrix.orglaurynaspthanks! the "pipe" is what I was missing i my file14:26:08
@crtified:crtified.meCRTifiedYou're welcome14:26:20
@laurynasp:matrix.orglaurynasp* thanks! the "pipe" is what I was missing in my file14:27:27
@hexa:lossy.network@hexa:lossy.networkdoes anyone here have opinions on mealie vs tandoor vs ???17:31:06
@tanja:catgirl.cloudTanja (she/her) changed their display name from Tanja (she/her) [DECT 6929] to Tanja (she/her).20:59:45
1 Jan 2025
@hexa:lossy.network@hexa:lossy.networkok, the voice hardware is fun01:28:30
@hexa:lossy.network@hexa:lossy.networkthe microphone reaches across the room into the hallway01:28:39
@hexa:lossy.network@hexa:lossy.networkprobably ~10m01:28:50
@hexa:lossy.network@hexa:lossy.networkwith no direct LoS01:28:58
@uep:matrix.orguepmine should arrive when i get back from the beach03:35:45
@hexa:lossy.network@hexa:lossy.networkit was unhappy during setup that the hostname of my home-assistant instance was ipv6 only12:44:53
@hsngrmpf:matrix.orgDavHau joined the room.13:06:03
@hsngrmpf:matrix.orgDavHauI packaged tasmota: https://github.com/NixOS/nixpkgs/pull/36994913:07:42
@hsngrmpf:matrix.orgDavHauHad this sitting around for a while. By now I'm mainly using esphome, but I thought I give this some finishing and push it13:08:17
@hexa:lossy.network@hexa:lossy.network

The efforts blew out of proportion.

13:16:00
@hexa:lossy.network@hexa:lossy.networkthat tracks13:16:02
@hexa:lossy.network@hexa:lossy.networkdo you think having tasmota has any tangible benefit?13:17:00
@hexa:lossy.network@hexa:lossy.networkI probably haven't used it for 7-8y13:17:41
@hexa:lossy.network@hexa:lossy.network * I probably haven't used it for 7-8 years13:17:44
@crtified:crtified.meCRTified
In reply to @hexa:lossy.network
does anyone here have opinions on mealie vs tandoor vs ???
Yes. Tandoor is way better
13:19:05
@hexa:lossy.network@hexa:lossy.networkthanks, I heard that twice now 😄 13:19:15
@crtified:crtified.meCRTifiedWent from grocy to mealie to tandoor13:19:18

Show newer messages


Back to Room ListRoom Version: 6