1 parent d155dbc commit f329d57Copy full SHA for f329d57
1 file changed
modules/home-manager/rix101-shell/default.nix
@@ -137,7 +137,6 @@ in
137
home.packages =
138
with pkgs;
139
lib.concatLists [
140
- (lib.map (lib.flip builtins.getAttr pkgs) cfg.shells)
141
(optionals cfg.starship [
142
starship
143
])
@@ -262,7 +261,7 @@ in
262
261
{
263
SHELL =
264
let
265
- shellPackage = builtins.getAttr (builtins.head cfg.shells) pkgs;
+ shellPackage = config.programs.${builtins.head cfg.shells}.program;
266
in
267
"${shellPackage}/${shellPackage.shellPath}";
268
MANPAGER = "nvim +Man!";
0 commit comments