hass
This commit is contained in:
14
flake.nix
14
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.
|
||||
|
||||
Reference in New Issue
Block a user