Add zsh config and make it the default user shell. Also disabled kitty

This commit is contained in:
Tyler Kelley 2025-02-19 17:13:47 -06:00
parent 8bf777395c
commit b204d6cadf
8 changed files with 29 additions and 20 deletions

View File

@ -73,3 +73,6 @@ has been improved.
- Massive improvement to Hyprland window rules.
- Removed broken support for Apple Silicon (this may return).
- Install script improved.
- Fixed `nix flake check` not working.
- Added nvidia prime PCI ID variables to host `variables.nix`.
- Made Ghostty the new default terminal.

View File

@ -59,7 +59,6 @@
playerctl
ripgrep
socat
tree
unrar
unzip
usbutils

View File

@ -36,7 +36,7 @@ in {
"lp"
"docker"
];
shell = pkgs.bash;
shell = pkgs.zsh;
ignoreShellProgramCheck = true;
};
nix.settings.allowed-users = ["${username}"];

View File

@ -1,12 +1,7 @@
{profile, ...}: {
programs.bash = {
enable = true;
enable = false;
enableCompletion = true;
profileExtra = ''
#if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then
# exec Hyprland
#fi
'';
initExtra = ''
fastfetch
if [ -f $HOME/.bashrc-personal ]; then

View File

@ -22,5 +22,6 @@
./waybar.nix
./wlogout
./xdg.nix
./zsh.nix
];
}

View File

@ -1,16 +1,22 @@
{...}: {
programs.ghostty = {
enable = true;
enableBashIntegration = true;
enableBashIntegration = false;
enableZshIntegration = true;
settings = {
font-thicken = true;
font-thicken = false;
font-feature = ["ss04" "ss01"];
bold-is-bright = false;
adjust-box-thickness = 1;
cursor-style = "bar";
cursor-style-blink = false;
copy-on-select = false;
confirm-close-surface = false;
adjust-cursor-thickness = 1;
mouse-hide-while-typing = true;
window-padding-x = 4;
window-padding-y = 6;
window-padding-balance = true;
title = "GhosTTY";
gtk-single-instance = true;
};

View File

@ -1,16 +1,14 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
programs.kitty = {
enable = true;
enable = false;
package = pkgs.kitty;
settings = {
wheel_scroll_min_lines = 1;
window_padding_width = 4;
confirm_os_window_close = 0;
scrollback_lines = 10000;
enable_audio_bell = false;
mouse_hide_wait = 60;
wheel_scroll_min_lines = 1;
window_padding_width = 4;
confirm_os_window_close = 0;
scrollback_lines = 10000;
enable_audio_bell = false;
mouse_hide_wait = 60;
};
extraConfig = ''
tab_bar_style fade

7
modules/home/zsh.nix Normal file
View File

@ -0,0 +1,7 @@
{...}: {
programs.zsh = {
enable = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
};
}