about summary refs log tree commit diff
path: root/nixos/modules/tasks/filesystems
diff options
context:
space:
mode:
authorJens Nolte <jens@nightmarestudio.de>2021-05-13 23:40:10 +0200
committerGitHub <noreply@github.com>2021-05-13 17:40:10 -0400
commit22e797947b8ffa4f20688652e49d46cf58a05516 (patch)
tree3fbdfe8430b2bd0496b958490df4b88aa3533a42 /nixos/modules/tasks/filesystems
parent6920440a6918529340caa3aa4eb5f13a533975d0 (diff)
downloadnixlib-22e797947b8ffa4f20688652e49d46cf58a05516.tar
nixlib-22e797947b8ffa4f20688652e49d46cf58a05516.tar.gz
nixlib-22e797947b8ffa4f20688652e49d46cf58a05516.tar.bz2
nixlib-22e797947b8ffa4f20688652e49d46cf58a05516.tar.lz
nixlib-22e797947b8ffa4f20688652e49d46cf58a05516.tar.xz
nixlib-22e797947b8ffa4f20688652e49d46cf58a05516.tar.zst
nixlib-22e797947b8ffa4f20688652e49d46cf58a05516.zip
nixos/zfs: Add defaultText for 'boot.zfs.package'-option (#122002)
Diffstat (limited to 'nixos/modules/tasks/filesystems')
-rw-r--r--nixos/modules/tasks/filesystems/zfs.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix
index 21c30305188b..376d6530f363 100644
--- a/nixos/modules/tasks/filesystems/zfs.nix
+++ b/nixos/modules/tasks/filesystems/zfs.nix
@@ -103,6 +103,7 @@ in
         readOnly = true;
         type = types.package;
         default = if config.boot.zfs.enableUnstable then pkgs.zfsUnstable else pkgs.zfs;
+        defaultText = "if config.boot.zfs.enableUnstable then pkgs.zfsUnstable else pkgs.zfs";
         description = "Configured ZFS userland tools package.";
       };