mirror of
https://git.kb-one.de/kb01/aux-config.git
synced 2026-05-29 14:23:26 +00:00
This commit is contained in:
parent
1c07808405
commit
c5b4f02d58
|
|
@ -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";
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue