diff --git a/flake.nix b/flake.nix index a889ee4..fac33e0 100644 --- a/flake.nix +++ b/flake.nix @@ -244,6 +244,17 @@ overrides = _self: super: { google-chrome = super.google-chrome.override { commandLineArgs = [ "--password-store=gnome" "--force-dark-mode" ]; }; sddm-theme-clairvoyance = super.sddm-theme-clairvoyance.override { wallpaper = ./wallpapers/background.jpg; }; + + home-assistant-custom-components.smartir = super.home-assistant-custom-components.smartir.overrideAttrs + (_attr: rec { + version = "1.17.13"; + src = super.fetchFromGitHub { + owner = "smartHomeHub"; + repo = "SmartIR"; + rev = version; + hash = "sha256-E6TM761cuaeQzlbjA+oZ2wt5HTJAfkF2J3i4P1Wbuic="; + }; + }); }; }; diff --git a/instances/odin/configuration.nix b/instances/odin/configuration.nix index 7a40162..30248a2 100644 --- a/instances/odin/configuration.nix +++ b/instances/odin/configuration.nix @@ -255,15 +255,7 @@ in configWritable = true; extraPackages = ps: with ps; [ securetar ]; customComponents = [ - (pkgs.home-assistant-custom-components.smartir.overrideAttrs (_attr: rec { - version = "1.17.13"; - src = pkgs.fetchFromGitHub { - owner = "smartHomeHub"; - repo = "SmartIR"; - rev = version; - hash = "sha256-E6TM761cuaeQzlbjA+oZ2wt5HTJAfkF2J3i4P1Wbuic="; - }; - })) + pkgs.home-assistant-custom-components.smartir ]; extraComponents = [ "default_config"