flocon/modules/programs/terminal/shell/default.nix

20 lines
309 B
Nix

{
lib,
pkgs,
config,
...
}: let
inherit (lib) mkIf;
inherit (config.local.systemVars) username;
in {
imports = [
./starship.nix
./nushell.nix
./zoxide.nix
./zsh.nix
];
config = mkIf config.local.profiles.desktop.enable {
users.users.${username}.shell = pkgs.zsh;
};
}