Move nushell config to separate expression, remove startup banner

This commit is contained in:
Evie Litherland-Smith 2024-02-03 08:26:13 +00:00
parent db2e09c4ed
commit 14970fa70d
3 changed files with 10 additions and 2 deletions

View file

@ -4,11 +4,10 @@
pkgs,
...
}: {
imports = [./config/default.nix ./scripts/default.nix];
imports = [./nushell/default.nix ./config/default.nix ./scripts/default.nix];
stylix.targets.fzf.enable = true;
programs = rec {
bash.enable = true;
nushell.enable = true;
bat = {
enable = true;
config.theme = "Catppuccin-mocha";

3
home/nushell/config.nu Normal file
View file

@ -0,0 +1,3 @@
$env.config = {
show_banner: false,
}

6
home/nushell/default.nix Normal file
View file

@ -0,0 +1,6 @@
{...}: {
programs.nushell = {
enable = true;
envFile.source = ./config.nu;
};
}