From 0967e27fca469b346abc30b3358c2196ff0ae564 Mon Sep 17 00:00:00 2001 From: mjallen18 Date: Sat, 28 Mar 2026 10:41:01 -0500 Subject: [PATCH] hass --- flake.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/flake.nix b/flake.nix index 1324991..a22c4d6 100644 --- a/flake.nix +++ b/flake.nix @@ -134,6 +134,20 @@ overlays = with inputs; [ nix-vscode-extensions.overlays.default nix-cachyos-kernel.overlays.default + # writeShellApplication uses lib.toShellVar which generates unquoted + # variable assignments for simple strings (e.g. username=admin). + # shellcheck SC2209 flags this as a warning, breaking the build when + # the value matches a command name. Exclude SC2209 globally. + (final: prev: { + writeShellApplication = + args: + prev.writeShellApplication ( + args + // { + excludeShellChecks = (args.excludeShellChecks or [ ]) ++ [ "SC2209" ]; + } + ); + }) ]; # Add a module to a specific host.