rewrite and refactor a lot, delete redundant configs
This commit is contained in:
parent
ca61775d84
commit
c191adcc99
44 changed files with 334 additions and 1607 deletions
16
modules/shell/nu.nix
Normal file
16
modules/shell/nu.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ config, ... }: {
|
||||
home-manager.users.jade = { pkgs, ... }: {
|
||||
programs.nushell = {
|
||||
enable = true;
|
||||
package = config.users.defaultUserShell;
|
||||
configFile.source = ../../other/config.nu;
|
||||
envFile.source = ../../other/env.nu;
|
||||
extraConfig = ''
|
||||
source ${pkgs.nu_scripts}/share/nu_scripts/modules/nix/nix.nu;
|
||||
'';
|
||||
};
|
||||
programs.starship.enableNushellIntegration = true;
|
||||
programs.carapace.enableNushellIntegration = true;
|
||||
programs.direnv.enableNushellIntegration = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue