summary refs log tree commit diff
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
parent6920440a6918529340caa3aa4eb5f13a533975d0 (diff)
downloadnixpkgs-22e797947b8ffa4f20688652e49d46cf58a05516.tar
nixpkgs-22e797947b8ffa4f20688652e49d46cf58a05516.tar.gz
nixpkgs-22e797947b8ffa4f20688652e49d46cf58a05516.tar.bz2
nixpkgs-22e797947b8ffa4f20688652e49d46cf58a05516.tar.lz
nixpkgs-22e797947b8ffa4f20688652e49d46cf58a05516.tar.xz
nixpkgs-22e797947b8ffa4f20688652e49d46cf58a05516.tar.zst
nixpkgs-22e797947b8ffa4f20688652e49d46cf58a05516.zip
nixos/zfs: Add defaultText for 'boot.zfs.package'-option (#122002)
-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 21c30305188..376d6530f36 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.";
       };