From 0bc55ff3651f696ecc67097e559ef3cb1f4d653a Mon Sep 17 00:00:00 2001 From: pagedmov Date: Thu, 19 Feb 2026 18:09:57 -0500 Subject: [PATCH] fixed bug in .fernrc renderer in hm module --- nix/hm-module.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nix/hm-module.nix b/nix/hm-module.nix index 4541cfd..b4d1e17 100644 --- a/nix/hm-module.nix +++ b/nix/hm-module.nix @@ -108,7 +108,9 @@ in home.file.".fernrc".text = lib.concatLines [ cfg.settings.extraPreConfig - lib.concatLines [ + (lib.concatLines (lib.mapAttrsToList (name: value: "export ${name}='${value}'") cfg.environmentVars)) + (lib.concatLines (lib.mapAttrsToList (name: value: "alias ${name}='${value}'") cfg.aliases)) + (lib.concatLines [ "shopt core.dotglob=${boolToString cfg.settings.dotGlob}" "shopt core.autocd=${boolToString cfg.settings.autocd}" "shopt core.hist_ignore_dupes=${boolToString cfg.settings.historyIgnoresDupes}" @@ -122,7 +124,7 @@ in "shopt prompt.comp_limit=${toString cfg.settings.completionLimit}" "shopt prompt.highlight=${boolToString cfg.settings.syntaxHighlighting}" "shopt prompt.tab_stop=${toString cfg.settings.tabStop}" - ] + ]) cfg.settings.extraPostConfig ]; };