Add non-working nushell
This commit is contained in:
55
modules/home/nushell/default.nix
Normal file
55
modules/home/nushell/default.nix
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.nushell;
|
||||
inherit (lib) mkEnableOption mkIf mkOption;
|
||||
in
|
||||
{
|
||||
options.nushell = {
|
||||
enable = mkEnableOption "nushell";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs = {
|
||||
nushell = {
|
||||
enable = true;
|
||||
};
|
||||
nix-your-shell = {
|
||||
enable = true;
|
||||
enableNushellIntegration = true;
|
||||
};
|
||||
direnv = {
|
||||
enable = true;
|
||||
enableNushellIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
config = {
|
||||
hide_env_diff = true;
|
||||
};
|
||||
};
|
||||
eza = {
|
||||
enable = true;
|
||||
enableNushellIntegration = true;
|
||||
extraOptions = [ "--group-directories-first" ];
|
||||
};
|
||||
starship = {
|
||||
enable = true;
|
||||
enableNushellIntegration = false;
|
||||
settings = {
|
||||
nodejs.disabled = true;
|
||||
package.disabled = true;
|
||||
aws.disabled = true;
|
||||
python.disabled = true;
|
||||
};
|
||||
};
|
||||
|
||||
zoxide = {
|
||||
enableNushellIntegration = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user