diff --git a/configuration.nix b/configuration.nix index b3fa705..287f226 100644 --- a/configuration.nix +++ b/configuration.nix @@ -64,11 +64,16 @@ ]; 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)" ''; }; # Enable CUPS to print documents. diff --git a/home/home.nix b/home/home.nix index 38ec08a..7887db7 100644 --- a/home/home.nix +++ b/home/home.nix @@ -57,13 +57,6 @@ }; }; }; - programs.bash = { - enable = true; - enableCompletion = true; - shellAliases = { - "rebuild" = "doas nixos-rebuild switch --flake $HOME/nixos/ --impure"; - }; - }; programs.google-chrome.enable = true; programs.foot = { enable = true;