rewrite nu shit

This commit is contained in:
Schrottkatze 2025-01-01 05:16:08 +01:00
commit 2ce0df9880
No known key found for this signature in database
6 changed files with 101 additions and 96 deletions

View file

@ -13,14 +13,14 @@
pkgs.pueue
];
home.file."shell-startup" = {
source = ../../other/scripts/desktop/shell-startup.nu;
source = ./nu/shell-startup.nu;
target = ".config/nushell/shell-startup.nu";
};
programs.nushell = {
enable = true;
package = config.users.defaultUserShell;
configFile.source = ../../other/config.nu;
envFile.source = ../../other/env.nu;
configFile.source = ./nu/config.nu;
envFile.source = ./nu/env.nu;
extraConfig = ''
plugin add ${pkgs.nushellPlugins.query}/bin/nu_plugin_query;
plugin add ${pkgs.nushellPlugins.polars}/bin/nu_plugin_polars;
@ -30,7 +30,9 @@
plugin use polars;
plugin use formats;
nu ${../../other/scripts/desktop/shell-startup.nu};
source ${./nu/custom_commands.nu};
source ${./nu/aliases.nu};
nu ${./nu/shell-startup.nu};
'';
extraEnv = ''
'';