From 1a3f23f248821f0f3dd44584b7bef866344cbc04 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Mon, 28 Sep 2026 19:53:05 +0200 Subject: [PATCH] add multiday-calendar Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- server-modules/home-assistant/plugins.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/server-modules/home-assistant/plugins.nix b/server-modules/home-assistant/plugins.nix index 35fcdcbf..7f07b3f8 100644 --- a/server-modules/home-assistant/plugins.nix +++ b/server-modules/home-assistant/plugins.nix @@ -39,10 +39,25 @@ cp $src $out/atomic-calendar-revive.js ''; }; + + multiday-calendar-card = pkgs.stdenvNoCC.mkDerivation { + pname = "multiday-calendar-card"; + version = "0.3.0"; + src = pkgs.fetchurl { + url = "https://raw.githubusercontent.com/Uko/multiday-calendar-card/v0.3.0/dist/multiday-calendar-card.js"; + hash = "sha256-vDRp/AwJWHpUTMP+rO4rHdvaFxQJCG+GAzUKGwQiDTM="; + }; + dontUnpack = true; + installPhase = '' + mkdir $out + cp $src $out/multiday-calendar-card.js + ''; + }; in { customComponents = [idfm]; customLovelaceModules = [ atomic-calendar-revive + multiday-calendar-card pkgs.home-assistant-custom-lovelace-modules.bubble-card pkgs.home-assistant-custom-lovelace-modules.auto-entities ];