From e875971237296aa9acd119def64e0126f64208da Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Tue, 25 Aug 2026 00:12:01 +0100 Subject: [PATCH] nixos/hass: Use packaged pyirishrail Fix pyirishrail metadata in the nixpkgs fork, update the mine pin, and remove the local package now supplied by the Home Assistant component. --- flake.lock | 6 ++--- .../home/palace/vms/sfh/containers/hass.nix | 23 +------------------ 2 files changed, 4 insertions(+), 25 deletions(-) diff --git a/flake.lock b/flake.lock index 50d6436..2d919e7 100644 --- a/flake.lock +++ b/flake.lock @@ -702,11 +702,11 @@ }, "nixpkgs-mine": { "locked": { - "lastModified": 1787523184, - "narHash": "sha256-wdRy2OJNSEceZoyDyAXWWw7sroxQZlY/d3FyeOU3QxA=", + "lastModified": 1787612836, + "narHash": "sha256-25KxhEJHYVZXAwsHQbXpyaG9/WpWGo9EmGe7kzMc25Y=", "owner": "devplayer0", "repo": "nixpkgs", - "rev": "9eaacb6680b6f10067acd4b10c61ef4c4d643fb6", + "rev": "c92598bc3fd46ff4d23407045091eea206120979", "type": "github" }, "original": { diff --git a/nixos/boxes/home/palace/vms/sfh/containers/hass.nix b/nixos/boxes/home/palace/vms/sfh/containers/hass.nix index e3b5061..c9b3564 100644 --- a/nixos/boxes/home/palace/vms/sfh/containers/hass.nix +++ b/nixos/boxes/home/palace/vms/sfh/containers/hass.nix @@ -165,27 +165,7 @@ in }; }; - home-assistant = - let - pyirishrail = ps: ps.buildPythonPackage rec { - pname = "pyirishrail"; - version = "0.0.2"; - src = pkgs.fetchFromGitHub { - owner = "ttroy50"; - repo = "pyirishrail"; - tag = version; - hash = "sha256-NgARqhcXP0lgGpgBRiNtQaSn9JcRNtCcZPljcL7t3Xc="; - }; - - dependencies = with ps; [ - requests - ]; - - pyproject = true; - build-system = [ ps.setuptools ]; - }; - in - { + home-assistant = { enable = true; extraComponents = [ @@ -207,7 +187,6 @@ in isal gtts - (pyirishrail python3Packages) ]; customComponents = with pkgs.home-assistant-custom-components; [ alarmo