testing nushell on laptop
This commit is contained in:
parent
a94f2615ef
commit
5af08eb27f
@ -17,24 +17,40 @@
|
|||||||
};
|
};
|
||||||
tmux.enable = true;
|
tmux.enable = true;
|
||||||
starship.enable = true;
|
starship.enable = true;
|
||||||
zsh = {
|
nushell = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autosuggestion.enable = true;
|
shellAliases = {
|
||||||
enableCompletion = true;
|
cat = "bat";
|
||||||
syntaxHighlighting.enable = true;
|
};
|
||||||
autocd = true;
|
extraConfig = ''
|
||||||
plugins = [
|
$env.config = {
|
||||||
{
|
show_banner: false,
|
||||||
name = "zsh-nix-shell";
|
}
|
||||||
file = "nix-shell.plugin.zsh";
|
'';
|
||||||
src = pkgs.fetchFromGitHub {
|
};
|
||||||
owner = "chisui";
|
carapace = {
|
||||||
repo = "zsh-nix-shell";
|
enable = true;
|
||||||
rev = "v0.8.0";
|
enableNushellIntegration = true;
|
||||||
sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
|
};
|
||||||
};
|
bat.enable = true;
|
||||||
}
|
# zsh = {
|
||||||
];
|
# enable = true;
|
||||||
};
|
# autosuggestion.enable = true;
|
||||||
|
# enableCompletion = true;
|
||||||
|
# syntaxHighlighting.enable = true;
|
||||||
|
# autocd = true;
|
||||||
|
# plugins = [
|
||||||
|
# {
|
||||||
|
# name = "zsh-nix-shell";
|
||||||
|
# file = "nix-shell.plugin.zsh";
|
||||||
|
# src = pkgs.fetchFromGitHub {
|
||||||
|
# owner = "chisui";
|
||||||
|
# repo = "zsh-nix-shell";
|
||||||
|
# rev = "v0.8.0";
|
||||||
|
# sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
|
||||||
|
# };
|
||||||
|
# }
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -152,8 +152,8 @@
|
|||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "k";
|
description = "k";
|
||||||
extraGroups = ["networkmanager" "wheel"];
|
extraGroups = ["networkmanager" "wheel"];
|
||||||
packages = with pkgs; [zsh];
|
packages = with pkgs; [nushell];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.nushell;
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user