feat(nixos): Set default user shell to fish
This commit is contained in:
parent
66485e77b9
commit
d8a55f9555
2 changed files with 25 additions and 0 deletions
21
modules/nixos/programs/fish/default.nix
Normal file
21
modules/nixos/programs/fish/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -36,6 +36,10 @@ in {
|
|||
|
||||
wayland.hyprland = enabled;
|
||||
|
||||
programs = {
|
||||
fish = enabled;
|
||||
};
|
||||
|
||||
services = {
|
||||
ly = enabled;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue