diff --git a/modules/home/programs/nushell/default.nix b/modules/home/programs/nushell/default.nix index 7dd2547..50d322b 100644 --- a/modules/home/programs/nushell/default.nix +++ b/modules/home/programs/nushell/default.nix @@ -3,7 +3,18 @@ nushell = { enable = true; environmentVariables = { + config = ''{ + show_banner: false, + completions: { + quick: true + partial: true + algorithm: "fuzzy" + } + } + ''; PASSWORD_STORE_DIR = "([$env.HOME, '.password-store'] | str join '/')"; + PATH = "($env.PATH | split row (char esep) | append ([$env.HOME, '.local', 'bin'] | str join '/'))"; + EDITOR = "nvim"; }; shellAliases = { gcal = '' @@ -21,19 +32,6 @@ sway } ''; - extraConfig = '' - $env.config = { - show_banner: false, - completions: { - quick: true - partial: true - algorithm: "fuzzy" - } - } - $env.PATH = ($env.PATH | split row (char esep) | - append ([$env.HOME, '.local', 'bin'] | str join '/') - ) - ''; }; starship = { enable = true;