1 { config, lib, pkgs, ... }:
4 enable = config.programs.bash.enableLsColors;
8 programs.bash.enableLsColors = lib.mkEnableOption "extra colors in directory listings" // {
13 config = lib.mkIf enable {
14 programs.bash.promptPluginInit = ''
15 eval "$(${pkgs.coreutils}/bin/dircolors -b)"