Skip to content

Commit f329d57

Browse files
committed
fix(modules/home-manager/rix101-shell): use HA configured shell packages
1 parent d155dbc commit f329d57

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

modules/home-manager/rix101-shell/default.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ in
137137
home.packages =
138138
with pkgs;
139139
lib.concatLists [
140-
(lib.map (lib.flip builtins.getAttr pkgs) cfg.shells)
141140
(optionals cfg.starship [
142141
starship
143142
])
@@ -262,7 +261,7 @@ in
262261
{
263262
SHELL =
264263
let
265-
shellPackage = builtins.getAttr (builtins.head cfg.shells) pkgs;
264+
shellPackage = config.programs.${builtins.head cfg.shells}.program;
266265
in
267266
"${shellPackage}/${shellPackage.shellPath}";
268267
MANPAGER = "nvim +Man!";

0 commit comments

Comments
 (0)