From c5b4f02d5829ba67813ba5a66a1672054124cc84 Mon Sep 17 00:00:00 2001 From: Kaybee Date: Mon, 18 May 2026 11:05:11 +0200 Subject: [PATCH] Switched from Nushell to Bash --- modules/home/suites/desktop/terminal.nix | 33 ++++++++++++------------ 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/modules/home/suites/desktop/terminal.nix b/modules/home/suites/desktop/terminal.nix index ca85fd3..33d04bd 100644 --- a/modules/home/suites/desktop/terminal.nix +++ b/modules/home/suites/desktop/terminal.nix @@ -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"; + }; }; }