diff --git a/modules/nixos/user/default.nix b/modules/nixos/user/default.nix index 3d0d65f..d5609ed 100644 --- a/modules/nixos/user/default.nix +++ b/modules/nixos/user/default.nix @@ -73,8 +73,8 @@ in }".source = cfg.icon; }; - extraOptions.programs.bash.bashrcExtra = '' - [[ $PS1 ]] && exec env fish -l + extraOptions.programs.bash.initExtra = '' + [[ $WANT_BASH ]] || exec env fish -l ''; };