Switched from Nushell to Bash
Some checks are pending
/ Check Nix Flake (push) Waiting to run

This commit is contained in:
Kaybee 2026-05-18 11:05:11 +02:00
parent 1c07808405
commit c5b4f02d58
No known key found for this signature in database

View file

@ -1,7 +1,12 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
...
}:
let
cfg = config.suites.desktop.terminal;
in {
in
{
config = lib.mkIf (config.suites.desktop.enable && cfg.enable) {
@ -13,25 +18,21 @@ in {
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
config.default_prog = { "${config.programs.nushell.package}/bin/nu" }
config.hide_tab_bar_if_only_one_tab = true
return config
'';
'';
};
# Shell
programs.nushell.enable = true;
programs.nushell.settings = {
show_banner = false;
};
home.shell.enableNushellIntegration = true;
services.gpg-agent.enableNushellIntegration = true;
programs.bash.enable = true;
home.shell.enableBashIntegration = true;
services.gpg-agent.enableBashIntegration = true;
# Shell Prompt
programs.starship = {
enable = true;
enableNushellIntegration = true;
enableBashIntegration = true;
settings = {
add_newline = false;
};
@ -40,14 +41,14 @@ in {
# Custom Shell in Nix-Shell
programs.nix-your-shell = {
enable = true;
enableNushellIntegration = true;
};
# Terminal File-Manager
programs.yazi.enable = true;
programs.yazi.enableNushellIntegration = true;
programs.yazi.shellWrapperName = "y";
programs.yazi = {
enable = true;
enableBashIntegration = true;
shellWrapperName = "y";
};
};
}