Enable nushell by default

This commit is contained in:
Yadunand Prem 2025-08-19 00:34:18 +08:00
parent 5f99f4bbc4
commit 2835a0a72e
4 changed files with 31 additions and 4 deletions

View File

@ -5,6 +5,20 @@
...
}:
{
nix = {
package = pkgs.nix;
settings = {
substituters = [
"https://nix-community.cachix.org"
"https://cache.nixos.org"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
];
};
};
home.packages = [
# pkgs.dive
pkgs.entr
@ -13,6 +27,8 @@
pkgs.rsync
pkgs.claude-code
pkgs.dive
pkgs.cachix
pkgs.ouch
];
home.sessionVariables = {
@ -27,7 +43,7 @@
];
zsh.enable = true;
nushell.enable = false;
nushell.enable = true;
neovim.enable = true;
git = {
enable = true;

View File

@ -14,6 +14,7 @@
signingKey = "~/.ssh/id_ed25519.pub";
};
zsh.enable = true;
nushell.enable = true;
neovim.enable = true;
services = {

View File

@ -35,6 +35,11 @@ in
programs.zsh.shellAliases = {
lg = "lazygit";
js = "jj status";
jd = "jj diff";
jn = "jj new";
jf = "jj git fetch";
jp = "jj git push";
};
programs.git = {
ignores = [

View File

@ -18,6 +18,11 @@ in
programs = {
nushell = {
enable = true;
configFile.text = ''
$env.config.edit_mode = "vi"
$env.config.buffer_editor = "nvim"
$env.config.show_banner = false
'';
};
nix-your-shell = {
enable = true;
@ -33,12 +38,12 @@ in
};
eza = {
enable = true;
enableNushellIntegration = true;
enableNushellIntegration = false;
extraOptions = [ "--group-directories-first" ];
};
starship = {
enable = true;
enableNushellIntegration = false;
enableNushellIntegration = true;
settings = {
nodejs.disabled = true;
package.disabled = true;
@ -48,7 +53,7 @@ in
};
zoxide = {
enableNushellIntegration = false;
enableNushellIntegration = true;
};
};
};