From f9b03ff4426d69b3a8c98b0b603a1007755024c5 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 25 Mar 2024 11:03:30 +0100 Subject: [PATCH] login shell to fish remove exec workaround Signed-off-by: Harald Hoyer --- modules/nixos/user/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/nixos/user/default.nix b/modules/nixos/user/default.nix index 39b3aef..2769936 100644 --- a/modules/nixos/user/default.nix +++ b/modules/nixos/user/default.nix @@ -73,9 +73,6 @@ in }".source = cfg.icon; }; - extraOptions.programs.bash.initExtra = '' - [[ $WANT_BASH ]] || exec ${pkgs.fish}/bin/fish -l - ''; }; users.users.${cfg.name} = @@ -88,7 +85,7 @@ in home = "/home/${cfg.name}"; group = "users"; - shell = pkgs.bash; + shell = pkgs.fish; # Arbitrary user ID to use for the user. Since I only # have a single user on my machines this won't ever collide.