From abfe4bdc54c74ab51522806a6a86e59b396ae4d8 Mon Sep 17 00:00:00 2001 From: lucy Date: Mon, 27 Jul 2026 23:06:34 +0200 Subject: [PATCH] add devenv hook to zsh and remove bash from configuration.nix --- configuration.nix | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/configuration.nix b/configuration.nix index 637c102..8e1266e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -68,19 +68,6 @@ } ]; - programs.bash = { - completion.enable = true; - shellAliases = { - "rebuild" = "doas nixos-rebuild switch --flake $HOME/nixos/ --impure"; - }; - promptInit = '' - PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] ' - ''; - interactiveShellInit = '' - complete -F _command doas - eval "$(devenv hook bash)" - ''; - }; programs.zsh = { enable = true; enableCompletion = true; @@ -88,6 +75,7 @@ syntaxHighlighting.enable = true; ohMyZsh.enable = true; ohMyZsh.theme = "gentoo"; + interactiveShellInit = ''eval "$(devenv hook zsh)"''; }; # Enable CUPS to print documents. services.printing.enable = true;