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