summary refs log tree commit diff
path: root/nixos/modules/tasks
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-02-11 15:11:19 -0800
committerWilliam A. Kennington III <william@wkennington.com>2015-02-11 15:11:56 -0800
commit35e9d3c112202bad6b51756f2676d2e0a251abd5 (patch)
treef4a952d4ac809bc610615eae6e090ae384890d9c /nixos/modules/tasks
parent5742b242716564d9bf3b575e7ed4e8c4c3537d08 (diff)
downloadnixlib-35e9d3c112202bad6b51756f2676d2e0a251abd5.tar
nixlib-35e9d3c112202bad6b51756f2676d2e0a251abd5.tar.gz
nixlib-35e9d3c112202bad6b51756f2676d2e0a251abd5.tar.bz2
nixlib-35e9d3c112202bad6b51756f2676d2e0a251abd5.tar.lz
nixlib-35e9d3c112202bad6b51756f2676d2e0a251abd5.tar.xz
nixlib-35e9d3c112202bad6b51756f2676d2e0a251abd5.tar.zst
nixlib-35e9d3c112202bad6b51756f2676d2e0a251abd5.zip
nixos/zfs: Use the git version for kernels unsupported by 0.6.3
Diffstat (limited to 'nixos/modules/tasks')
-rw-r--r--nixos/modules/tasks/filesystems/zfs.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix
index 1ac89c4c2554..93782ffa4d58 100644
--- a/nixos/modules/tasks/filesystems/zfs.nix
+++ b/nixos/modules/tasks/filesystems/zfs.nix
@@ -55,7 +55,8 @@ in
     boot.zfs = {
       useGit = mkOption {
         type = types.bool;
-        default = false;
+        # TODO(wkennington): Revert when 0.6.4 is out
+        default = versionAtLeast config.boot.kernelPackages.kernel.version "3.19";
         example = true;
         description = ''
           Use the git version of the SPL and ZFS packages.