home/nushell: init

This commit is contained in:
Oystein Kristoffer Tveit 2025-02-27 18:00:31 +01:00
parent edff5b3313
commit e46453cdeb
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
4 changed files with 15 additions and 0 deletions

View File

@ -29,6 +29,7 @@ in {
./programs/man.nix
./programs/neovim
./programs/nix-index
./programs/nushell.nix
./programs/pandoc.nix
./programs/ripgrep.nix
./programs/skim.nix

View File

@ -254,6 +254,10 @@ in {
# TODO: fish does not support session variables?
# localVariables = cfg.variables;
};
nushell = {
shellAliases = flattenedAliases;
environmentVariables = cfg.variables;
};
};
};
}

View File

@ -0,0 +1,6 @@
{ ... }:
{
programs.nushell = {
enable = true;
};
}

View File

@ -27,6 +27,10 @@ in {
source "${config.sops.secrets."nordicsemi/envvars".path}"
'';
programs.nushell.extraEnv = ''
source "${config.sops.secrets."nordicsemi/envvars".path}"
'';
local.shell.aliases = {
# ░█▀▄░█▀▀░█▀█░█░░░█▀█░█▀▀░█▀▀░█▄█░█▀▀░█▀█░▀█▀░█▀▀