git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/atop: Add defaultText for types.package options

see: https://github.com/NixOS/nixpkgs/pull/123053#discussion_r637205826

commit9cb76c21ee134b23e72b09d0043e94ab89f83338 authorPaul Schyska <paul@schyska.net> dateFri 21 May 2021, 23:12 (5 years ago) parente1a8e85
1 file changed+2
nixos/modules/programs/atop.nix+2
nixos/modules/programs/atop.nix+2
@@ -19,6 +19,7 @@ in
1919 package = mkOption {
2020 type = types.package;
2121 default = pkgs.atop;
22+ defaultText = "pkgs.atop";
2223 description = ''
2324 Which package to use for Atop.
2425 '';
@@ -36,6 +37,7 @@ in
3637 package = mkOption {
3738 type = types.package;
3839 default = config.boot.kernelPackages.netatop;
40+ defaultText = "config.boot.kernelPackages.netatop";
3941 description = ''
4042 Which package to use for netatop.
4143 '';