nixos/home-assistant: Imperial unit system deprecated, cannot set new option #373674
Open
3 tasks done
Labels
0.kind: bug
Something is broken
3.skill: good-first-bug
This seems like it's fixable by a non-expert
6.topic: nixos
Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Nixpkgs version
Describe the bug
Setting
services.home-assistant.config.homeassistant.unit_system
toimperial
causes the following error to be shown inside of home assistant:The correct value to use is
us_customary
but setting the option to that throws an error while trying to build the config:Steps to reproduce
services.home-assistant.config.homeassistant.unit_system
toimperial
services.home-assistant.config.homeassistant.unit_system
tous_customary
Expected behaviour
Setting
unit_system
tous_customary
should not throw an errorScreenshots
Relevant log output
No response
Additional context
home-assistant/core#130979
https://www.home-assistant.io/integrations/homeassistant/#unit_system
I am running nixos-24.11 for my main system but using the home-assistant package and module from nixos-unstable (As described in the wiki)
System metadata
"x86_64-linux"
Linux 6.6.71, NixOS, 24.11 (Vicuna), 24.11pre-git
yes
yes
nix-env (Lix, like Nix) 2.91.1 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/nullcube/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/nullcube/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/nullcube/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/nullcube/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/6dxshp2qaas92v7d36baf7y95q0v98dn-lix-2.91.1/share
/nix/store/zd5dgszslv09jzybcpf25gpl12s6r2d9-source
Notify maintainers
@Mic92 @fabaff @mweinelt
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE
.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: