From 72dc6157b6f4fc0db572a66b3b10150112019914 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Sun, 7 Dec 2025 22:37:39 -0500 Subject: Upgrade to NixOS 25.11 The auth_header Home Assistant custom component has been removed. For now we use the last package from: https://github.com/NixOS/nixpkgs/blob/7f88a8b9efaf0e08e63e3806b2b3f42fd83fde91/pkgs/servers/home-assistant/custom-components/auth-header/package.nix --- hostnix/elmo/home-assistant/auth_header.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 hostnix/elmo/home-assistant/auth_header.nix (limited to 'hostnix/elmo/home-assistant') diff --git a/hostnix/elmo/home-assistant/auth_header.nix b/hostnix/elmo/home-assistant/auth_header.nix new file mode 100644 index 0000000..480598e --- /dev/null +++ b/hostnix/elmo/home-assistant/auth_header.nix @@ -0,0 +1,29 @@ +{ + lib, + buildHomeAssistantComponent, + fetchFromGitHub, +}: + +buildHomeAssistantComponent rec { + owner = "BeryJu"; + domain = "auth_header"; + version = "1.12"; + + src = fetchFromGitHub { + inherit owner; + repo = "hass-auth-header"; + tag = "v${version}"; + hash = "sha256-BPG/G6IM95g9ip2OsPmcAebi2ZvKHUpFzV4oquOFLPM="; + }; + + # isort: command not found + dontBuild = true; + + meta = with lib; { + changelog = "https://github.com/BeryJu/hass-auth-header/releases/tag/v${version}"; + description = "Home Assistant custom component which allows you to delegate authentication to a reverse proxy"; + homepage = "https://github.com/BeryJu/hass-auth-header"; + maintainers = with maintainers; [ mjm ]; + license = licenses.gpl3; + }; +} -- cgit v1.3.1