nixos/atop: Add defaultText for types.package options

see: https://github.com/NixOS/nixpkgs/pull/123053#discussion_r637205826
This commit is contained in:
Paul Schyska 2021-05-21 23:12:27 +02:00
parent e1a8e85631
commit 9cb76c21ee
No known key found for this signature in database
GPG Key ID: D49D4F8259DB724F

View File

@ -19,6 +19,7 @@ in
package = mkOption {
type = types.package;
default = pkgs.atop;
defaultText = "pkgs.atop";
description = ''
Which package to use for Atop.
'';
@ -36,6 +37,7 @@ in
package = mkOption {
type = types.package;
default = config.boot.kernelPackages.netatop;
defaultText = "config.boot.kernelPackages.netatop";
description = ''
Which package to use for netatop.
'';