1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

treewide: use mkPackageOption (#6727)

This commit is contained in:
Austin Horstman 2025-03-29 11:48:55 -05:00 committed by GitHub
parent 1f679ed2a2
commit f1d4acaa10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 39 additions and 195 deletions

View file

@ -254,14 +254,7 @@ in {
programs.fish = {
enable = mkEnableOption "fish, the friendly interactive shell";
package = mkOption {
type = types.package;
default = pkgs.fish;
defaultText = literalExpression "pkgs.fish";
description = ''
The fish package to install. May be used to change the version.
'';
};
package = lib.mkPackageOption pkgs "fish" { };
generateCompletions = mkEnableOption
"the automatic generation of completions based upon installed man pages"