diff options
| author | Joe Mou <dev@mou.fo> | 2025-12-07 22:37:39 -0500 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2025-12-24 23:56:37 -0800 |
| commit | 72dc6157b6f4fc0db572a66b3b10150112019914 (patch) | |
| tree | 1d10269744abc8e8e0d62185213d9ac24bfa726f /hostnix/elmo/home-assistant/auth_header.nix | |
| parent | 9f4ad647d0922e5740d5c77d29e5fc438f06a978 (diff) | |
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
Diffstat (limited to 'hostnix/elmo/home-assistant/auth_header.nix')
| -rw-r--r-- | hostnix/elmo/home-assistant/auth_header.nix | 29 |
1 files changed, 29 insertions, 0 deletions
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; + }; +} |
