modularized config.
This commit is contained in:
parent
54d8dcbe11
commit
ba9c1a5c09
8 changed files with 249 additions and 221 deletions
21
nix/nushell/nushell.nix
Normal file
21
nix/nushell/nushell.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
#sessionVariables, sessionPath and shellAliases are not applied to nushell.
|
||||
programs.nushell = {
|
||||
enable = true;
|
||||
configFile.source = ./config.nu;
|
||||
envFile.source = ./env.nu;
|
||||
};
|
||||
|
||||
home.file = {
|
||||
".config/nushell/scripts".source = ./scripts;
|
||||
};
|
||||
|
||||
programs.yazi.enableNushellIntegration = true;
|
||||
programs.zoxide.enableNushellIntegration = true;
|
||||
programs.starship.enableNushellIntegration = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue