nixos/foot: use cfg.package instead of hardcoding pkgs.foot

This commit is contained in:
Elec3137 2026-03-02 07:13:30 -08:00
commit 7124376669

View file

@ -85,7 +85,7 @@ in
programs = {
foot.settings.main.include = lib.optionals (cfg.theme != null) [
"${pkgs.foot.themes}/share/foot/themes/${cfg.theme}"
"${cfg.package.themes}/share/foot/themes/${cfg.theme}"
];
# https://codeberg.org/dnkl/foot/wiki#user-content-shell-integration
bash.interactiveShellInit = lib.mkIf cfg.enableBashIntegration ". ${./bashrc} # enable shell integration for foot terminal";