nixos-mods/allCommon: shellcheck activation scripts

secrix-issue25
Felix Stupp 3 months ago
parent 208829d890
commit 513dc2591b
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -153,6 +153,12 @@ in
'';
};
# ensure activation scripts are fine
# TODO upstream, probably replacing https://github.com/NixOS/nixpkgs/pull/149932
system.activatableSystemBuilderCommands = lib.mkAfter ''
${pkgs.shellcheck}/bin/shellcheck --check-sourced --external-sources --norc --severity=warning $out/activate $out/dry-activate
'';
time = {
hardwareClockInLocalTime = lib.mkDefault false;

Loading…
Cancel
Save