2.home-manager/modules
Austin Horstman 7419250703
treewide: convert package options to use mkPackageOption (#7116)
This commit converts `package = mkOption` declarations throughout the
codebase to use the more modern and consistent `lib.mkPackageOption`
function.

Key changes:
- Simple package options: `mkOption { type = types.package; default = pkgs.foo; }`
  becomes `lib.mkPackageOption pkgs "foo" { }`
- Package set options: Uses correct package set as first argument with
  `pkgsText` parameter (e.g., `lib.mkPackageOption pkgs.vimPlugins "plugin" { pkgsText = "pkgs.vimPlugins"; }`)
- Removes redundant descriptions that just restate the package name
- Preserves examples and extra context where meaningful
- Handles submodule plugin options properly with `null` defaults

This modernizes the option declarations and makes them more consistent
with current nixpkgs patterns while maintaining full backward compatibility.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-05-23 00:42:38 -05:00
..
accounts accounts/contact: add sensible defaults to the localModule (#6799) 2025-04-10 22:29:30 -05:00
config treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
files files: show colliding files at bottom in checkLinkTargets (#5495) 2025-05-20 21:11:16 -05:00
i18n/input-method fcitx5: ensure config doesn't get overwritten (#6940) 2025-04-30 14:19:29 -05:00
launchd treewide: lnl7 -> nix-darwin 2025-05-16 18:47:17 -05:00
lib formatter: remove script, add treefmt.toml + keep-sorted (#7056) 2025-05-20 12:42:51 -05:00
lib-bash home-manager: move profile management 2025-01-03 11:22:59 +01:00
misc treewide: convert package options to use mkPackageOption (#7116) 2025-05-23 00:42:38 -05:00
po Translate using Weblate (Dutch) (#6828) 2025-04-16 08:00:29 -05:00
programs treewide: convert package options to use mkPackageOption (#7116) 2025-05-23 00:42:38 -05:00
services treewide: convert package options to use mkPackageOption (#7116) 2025-05-23 00:42:38 -05:00
targets treewide: remove unused code (#6985) 2025-05-07 10:03:21 -05:00
dbus.nix dbus: Create with pacakges options (#7064) 2025-05-15 12:59:12 -05:00
default.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
files.nix files: add home.file.<name>.ignorelinks 2025-05-11 18:53:40 -05:00
home-environment.nix home-environment: add home.extraDependencies 2025-05-02 11:11:28 +02:00
manual.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
modules.nix formatter: remove script, add treefmt.toml + keep-sorted (#7056) 2025-05-20 12:42:51 -05:00
systemd-activate.sh systemd: don't try to restart templates 2024-06-26 18:14:48 +02:00
systemd.nix treewide: remove unused code (#6985) 2025-05-07 10:03:21 -05:00
wayland.nix wayland: create tray.target if xsession is not enabled (#6332) 2025-02-06 22:50:03 +01:00
xresources.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
xsession.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00