mirror of
https://github.com/thegeneralist01/config.git
synced 2026-05-30 08:37:01 +02:00
fixes
This commit is contained in:
parent
faeb9972fb
commit
eac37f9535
4 changed files with 52 additions and 26 deletions
|
|
@ -1,14 +1,14 @@
|
|||
{ config, lib, pkgs, ... }: let
|
||||
inherit (lib) concatStringsSep const flatten getAttr mapAttrsToList unique;
|
||||
in {
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
# users.defaultUserShell = pkgs.zsh;
|
||||
|
||||
environment.sessionVariables.SHELLS = config.home-manager.users
|
||||
|> mapAttrsToList (const <| getAttr "shellsByPriority")
|
||||
|> flatten
|
||||
|> map (drv: "${drv}${drv.shellPath}")
|
||||
|> unique
|
||||
|> concatStringsSep ":";
|
||||
# environment.sessionVariables.SHELLS = config.home-manager.users
|
||||
# |> mapAttrsToList (const <| getAttr "shellsByPriority")
|
||||
# |> flatten
|
||||
# |> map (drv: "${drv}${drv.shellPath}")
|
||||
# |> unique
|
||||
# |> concatStringsSep ":";
|
||||
|
||||
# environment.shellAliases = {
|
||||
# ls = mkForce null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue