about summary refs log tree commit diff
path: root/nixos/modules/tasks
diff options
context:
space:
mode:
authorRyan Lahfa <masterancpp@gmail.com>2023-12-31 21:33:37 +0100
committerGitHub <noreply@github.com>2023-12-31 21:33:37 +0100
commite44341e335968b758184cc1607207ff796c55278 (patch)
treec182f06d03119c70a25edf36ab176507dce4346c /nixos/modules/tasks
parentd07fb6a75c9e6875ff4021787f2f6a43a8a767d8 (diff)
parentc71cb77cd63ca512eec3cd51f353dc6c3be80e20 (diff)
Merge pull request #195805 from Luflosi/grub-use-correct-zfs-version
nixos/grub: use the correct ZFS version
Diffstat (limited to 'nixos/modules/tasks')
-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 38093f11d44e3..b38f228fc1606 100644
--- a/nixos/modules/tasks/filesystems/zfs.nix
+++ b/nixos/modules/tasks/filesystems/zfs.nix
@@ -667,6 +667,7 @@ in
       # TODO FIXME See https://github.com/NixOS/nixpkgs/pull/99386#issuecomment-798813567. To not break people's bootloader and as probably not everybody would read release notes that thoroughly add inSystem.
       boot.loader.grub = mkIf (inInitrd || inSystem) {
         zfsSupport = true;
+        zfsPackage = cfgZfs.package;
       };
 
       services.zfs.zed.settings = {