fix formatting

This commit is contained in:
Jeffrey C. Ollie 2024-07-03 12:08:32 -05:00
parent 61b4c97f59
commit 8e4265b74b
No known key found for this signature in database
GPG key ID: 6F86035A6D97044E

View file

@ -253,9 +253,11 @@ in {
'';
};
generateCompletions = mkEnableOption "the automatic generation of completions based upon installed man pages." // {
default = true;
};
generateCompletions = mkEnableOption
"the automatic generation of completions based upon installed man pages."
// {
default = true;
};
shellAliases = mkOption {
type = with types; attrsOf str;
@ -384,9 +386,7 @@ in {
};
config = mkIf cfg.enable (mkMerge [
{
home.packages = [ cfg.package ];
}
{ home.packages = [ cfg.package ]; }
(mkIf cfg.generateCompletions {
# Support completion for `man` by building a cache for `apropos`.