This commit is contained in:
DACHXY 2024-12-23 13:42:40 +08:00
parent 394f71cfb6
commit 36b9f4e2b0
27 changed files with 362 additions and 259 deletions

View file

@ -1,22 +1,36 @@
{ ... }:
{ pkgs, ... }:
{
programs = {
nushell = {
# nushell = {
# enable = true;
# configFile.source = ../config/nushell/config.nu;
# envFile.source = ../config/nushell/env.nu;
# };
fish = {
enable = true;
configFile.source = ../config/nushell/config.nu;
envFile.source = ../config/nushell/env.nu;
interactiveShellInit = ''
set fish_greeting # Disable greeting
'';
plugins = [
{ name = "grc"; src = pkgs.fishPlugins.grc.src; }
# Other plugins can be located in config file
];
};
carapace.enable = true;
carapace.enableNushellIntegration = true;
carapace = {
enable = true;
enableFishIntegration = true;
};
starship = {
enable = true;
enableFishIntegration = true;
};
zoxide = {
enable = true;
enableNushellIntegration = true;
enableFishIntegration = true;
};
};
}