1
0
Fork 0
dotfiles/home/programs/nushell.nix

29 lines
727 B
Nix
Raw Normal View History

2023-09-09 17:54:02 +00:00
{ pkgs, ... }:
{
programs.nushell = {
enable = true;
shellAliases = {
nrsw = "nixpkgs-switch";
upa = "nix flake update ~/.config/nixpkgs -v and upn";
ngc = "nix-collect-garbage -d and sudo nix-collect-garbage -d";
nsr = "sudo nix-store --verify --check-contents --repair";
la = "${pkgs.eza}/bin/eza --long --all --group --header --group-directories-first --sort=type --icons";
lg = "${pkgs.eza}/bin/eza --long --all --group --header --git";
lt = "${pkgs.eza}/bin/eza --long --all --group --header --tree --level ";
};
configFile = {
text = ''
$env.config = {
show_banner: false
keybindings: []
}
'';
};
};
}