summary refs log tree commit diff
path: root/nixos/modules/programs/atop.nix
diff options
context:
space:
mode:
authorPaul Schyska <paul@schyska.net>2021-05-21 23:12:27 +0200
committerPaul Schyska <paul@schyska.net>2021-05-22 14:11:45 +0200
commit9cb76c21ee134b23e72b09d0043e94ab89f83338 (patch)
tree18e5c19e937209c4ac26612fb9592bb9d6a623f1 /nixos/modules/programs/atop.nix
parente1a8e856316f3498176923ace906591a0e420845 (diff)
downloadnixpkgs-9cb76c21ee134b23e72b09d0043e94ab89f83338.tar
nixpkgs-9cb76c21ee134b23e72b09d0043e94ab89f83338.tar.gz
nixpkgs-9cb76c21ee134b23e72b09d0043e94ab89f83338.tar.bz2
nixpkgs-9cb76c21ee134b23e72b09d0043e94ab89f83338.tar.lz
nixpkgs-9cb76c21ee134b23e72b09d0043e94ab89f83338.tar.xz
nixpkgs-9cb76c21ee134b23e72b09d0043e94ab89f83338.tar.zst
nixpkgs-9cb76c21ee134b23e72b09d0043e94ab89f83338.zip
nixos/atop: Add defaultText for types.package options
see: https://github.com/NixOS/nixpkgs/pull/123053#discussion_r637205826
Diffstat (limited to 'nixos/modules/programs/atop.nix')
-rw-r--r--nixos/modules/programs/atop.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/programs/atop.nix b/nixos/modules/programs/atop.nix
index 47597a0a4d4..b45eb16e3ea 100644
--- a/nixos/modules/programs/atop.nix
+++ b/nixos/modules/programs/atop.nix
@@ -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.
           '';