mirror of
https://github.com/thegeneralist01/config.git
synced 2026-03-07 10:59:55 +01:00
parent
08d7a88fd8
commit
4026c0fc2a
1 changed files with 13 additions and 13 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue