Try switching to Zsh as default shell

This commit is contained in:
Evie Litherland-Smith 2023-07-05 11:08:23 +01:00
parent 13b2429cc7
commit 763cfe384a
3 changed files with 17 additions and 18 deletions

View file

@ -121,20 +121,16 @@
home-config home-config
./hosts/Ronin ./hosts/Ronin
./desktop/bspwm.nix ./desktop/bspwm.nix
./desktop/awesome.nix
./desktop/qtile.nix
./services/syncthing/Ronin.nix ./services/syncthing/Ronin.nix
({pkgs, ...}: { ({pkgs, ...}: {
services.xserver.displayManager = { services.xserver.displayManager = {
autoLogin.user = "elitherl"; autoLogin.user = "elitherl";
defaultSession = "xfce+bspwm"; defaultSession = "xfce+bspwm";
# defaultSession = "xfce+awesome";
}; };
home-manager.users.elitherl = { home-manager.users.elitherl = {
imports = [ imports = [
./home/work.nix ./home/work.nix
./home/desktop/bspwm.nix ./home/desktop/bspwm.nix
./home/desktop/awesome
./home/gui ./home/gui
]; ];
home = { home = {

29
home/env/zsh.nix vendored
View file

@ -1,16 +1,19 @@
{config, ...}: { {config, ...}: {
programs.zsh = { programs = {
enable = true; zsh = {
enableAutosuggestions = true; enable = true;
enableCompletion = true; enableAutosuggestions = true;
syntaxHighlighting.enable = true; enableCompletion = true;
enableVteIntegration = true; syntaxHighlighting.enable = true;
autocd = true; enableVteIntegration = true;
dotDir = ".config/zsh"; autocd = true;
historySubstringSearch.enable = true; dotDir = ".config/zsh";
history.path = "${config.xdg.dataHome}/zsh/history"; historySubstringSearch.enable = true;
history.path = "${config.xdg.dataHome}/zsh/history";
};
keychain.enableZshIntegration = true;
starship.enableZshIntegration = true;
direnv.enableZshIntegration = true;
nix-index.enableZshIntegration = true;
}; };
programs.keychain.enableZshIntegration = true;
programs.starship.enableZshIntegration = true;
programs.nix-index.enableZshIntegration = true;
} }

View file

@ -31,7 +31,7 @@
isNormalUser = true; isNormalUser = true;
description = "Evie Litherland-Smith"; description = "Evie Litherland-Smith";
extraGroups = ["networkmanager" "wheel"]; extraGroups = ["networkmanager" "wheel"];
shell = pkgs.fish; shell = pkgs.zsh;
}; };
services.greetd.settings.initial_session.user = "elitherl"; services.greetd.settings.initial_session.user = "elitherl";