flake: show flake targets as part of "help"

This commit is contained in:
Colin 2023-09-27 18:38:06 +00:00
parent 6df63d825a
commit 0bbe3e14c1
1 changed files with 3 additions and 0 deletions

View File

@ -334,6 +334,9 @@
'';
in builtins.toString (pkgs.writeShellScript "nixos-config-help" ''
cat ${helpMsg}
echo ""
echo "complete flake structure:"
nix flake show --option allow-import-from-derivation true
'');
};
update.pkgs = mkUpdaters { ignore = [ ["feeds"] ]; } [];