fix: environment not defined in hm

This commit is contained in:
Infinidoge 2021-09-19 21:21:58 -04:00
parent a9cd7fb56e
commit f9f905a771
3 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,4 @@
{ pkgs, ... }: { { config, pkgs, ... }: {
environment.shells = with pkgs; [ bashInteractive ];
programs = { programs = {
bash = { bash = {
enable = true; enable = true;
@ -9,4 +7,6 @@
starship.enableBashIntegration = true; starship.enableBashIntegration = true;
}; };
config.environment.shells = with pkgs; [ bashInteractive ];
} }

View file

@ -9,5 +9,5 @@
starship.enableFishIntegration = lib.mkIf config.programs.starship.enable true; starship.enableFishIntegration = lib.mkIf config.programs.starship.enable true;
}; };
environment.shells = [ pkgs.fish ]; config.environment.shells = [ pkgs.fish ];
} }

View file

@ -60,7 +60,7 @@
starship.enableZshIntegration = lib.mkIf config.programs.starship.enable true; starship.enableZshIntegration = lib.mkIf config.programs.starship.enable true;
}; };
environment = { config.environment = {
pathsToLink = [ "/share/zsh" ]; pathsToLink = [ "/share/zsh" ];
shells = [ pkgs.zsh ]; shells = [ pkgs.zsh ];
}; };