mirror of
https://github.com/thegeneralist01/config.git
synced 2026-03-07 10:59:55 +01:00
- fix: make nushell central's default shell - fix: ls aliases - add batgrep aliases - add lazygit
17 lines
463 B
Nix
17 lines
463 B
Nix
{ config, lib, pkgs, ... }: let
|
|
inherit (lib) concatStringsSep const flatten getAttr mapAttrsToList 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;
|
|
# };
|
|
}
|