nixos/shell: add nix-convert-hash
alias
This commit is contained in:
parent
786529e7a4
commit
6eb7a1cb19
1 changed files with 7 additions and 1 deletions
|
@ -27,12 +27,18 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = ( with pkgs; [
|
||||||
aliasDrag
|
aliasDrag
|
||||||
rangerGit
|
rangerGit
|
||||||
ripgrep
|
ripgrep
|
||||||
kitty
|
kitty
|
||||||
zoxide
|
zoxide
|
||||||
|
]) ++ [
|
||||||
|
(
|
||||||
|
pkgs.writeScriptBin "nix-convert-hash" ''
|
||||||
|
${lib.getExe' config.nix.package "nix"} --extra-experimental-features "nix-command" hash convert "$@"
|
||||||
|
''
|
||||||
|
)
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.bash.shellInit = ''
|
programs.bash.shellInit = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue