Move nushell config to separate expression, remove startup banner
This commit is contained in:
parent
db2e09c4ed
commit
14970fa70d
|
@ -4,11 +4,10 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [./config/default.nix ./scripts/default.nix];
|
imports = [./nushell/default.nix ./config/default.nix ./scripts/default.nix];
|
||||||
stylix.targets.fzf.enable = true;
|
stylix.targets.fzf.enable = true;
|
||||||
programs = rec {
|
programs = rec {
|
||||||
bash.enable = true;
|
bash.enable = true;
|
||||||
nushell.enable = true;
|
|
||||||
bat = {
|
bat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config.theme = "Catppuccin-mocha";
|
config.theme = "Catppuccin-mocha";
|
||||||
|
|
3
home/nushell/config.nu
Normal file
3
home/nushell/config.nu
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
$env.config = {
|
||||||
|
show_banner: false,
|
||||||
|
}
|
6
home/nushell/default.nix
Normal file
6
home/nushell/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{...}: {
|
||||||
|
programs.nushell = {
|
||||||
|
enable = true;
|
||||||
|
envFile.source = ./config.nu;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue