nixos/shell: add nix-convert-hash alias

This commit is contained in:
Wroclaw 2025-04-23 04:09:52 +02:00
parent 786529e7a4
commit 6eb7a1cb19

View file

@ -27,12 +27,18 @@ in
];
config = {
environment.systemPackages = with pkgs; [
environment.systemPackages = ( with pkgs; [
aliasDrag
rangerGit
ripgrep
kitty
zoxide
]) ++ [
(
pkgs.writeScriptBin "nix-convert-hash" ''
${lib.getExe' config.nix.package "nix"} --extra-experimental-features "nix-command" hash convert "$@"
''
)
];
programs.bash.shellInit = ''