feat(nixos): Set default user shell to fish

This commit is contained in:
punkfairie 2025-01-09 08:21:34 -08:00
parent 66485e77b9
commit d8a55f9555
No known key found for this signature in database
GPG key ID: B3C5488E9A1A7CA6
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.marleyos.programs.fish;
in {
options.marleyos.programs.fish.enable = mkEnableOption "fish";
config = mkIf cfg.enable {
programs.fish = {
enable = true;
useBabelfish = true;
};
users.defaultUserShell = pkgs.fish;
};
}

View file

@ -36,6 +36,10 @@ in {
wayland.hyprland = enabled; wayland.hyprland = enabled;
programs = {
fish = enabled;
};
services = { services = {
ly = enabled; ly = enabled;
}; };