login shell to fish

remove exec workaround

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
Harald Hoyer 2024-03-25 11:03:30 +01:00
parent 1ebef44098
commit f9b03ff442

View file

@ -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.