Files
dotfiles-modules/homemanager/nushell.nix
2025-10-14 12:29:46 +02:00

27 lines
504 B
Nix

{
lib,
config,
...
}:
{
options = {
modules.nushell.enable = lib.mkEnableOption "nushell";
};
config = lib.mkIf config.modules.nushell.enable {
programs.nushell = {
enable = true;
extraConfig = ''
$env.config = {
show_banner: false
edit_mode: vi
}
'';
shellAliases = {
v = "steam-run nvim";
nix-dev = "nix develop --command fish";
nix-shell = "nix-shell --command 'fish'";
};
};
};
}