diff --git a/modules/linux/shell/default.nix b/modules/linux/shell/default.nix index feee5a7..b06e7f2 100644 --- a/modules/linux/shell/default.nix +++ b/modules/linux/shell/default.nix @@ -1,17 +1,17 @@ { config, lib, pkgs, ... }: let inherit (lib) concatStringsSep const flatten getAttr mapAttrsToList mkForce unique; in { - # users.defaultUserShell = pkgs.zsh; - # - # environment.sessionVariables.SHELLS = config.home-manager.users - # |> mapAttrsToList (const <| getAttr "shellsByPriority") - # |> flatten - # |> map (drv: "${drv}${drv.shellPath}") - # |> unique - # |> concatStringsSep ":"; - # - # environment.shellAliases = { - # ls = mkForce null; - # l = mkForce null; - # }; + users.defaultUserShell = pkgs.zsh; + + environment.sessionVariables.SHELLS = config.home-manager.users + |> mapAttrsToList (const <| getAttr "shellsByPriority") + |> flatten + |> map (drv: "${drv}${drv.shellPath}") + |> unique + |> concatStringsSep ":"; + + environment.shellAliases = { + ls = mkForce null; + l = mkForce null; + }; }