zfsUnstable -> zfs_unstable
nixpkgs has a new path for this.
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
# If we also need zfs, we can use the unstable version as we otherwise don't have a new enough kernel version
|
# If we also need zfs, we can use the unstable version as we otherwise don't have a new enough kernel version
|
||||||
boot.zfs.package = pkgs.zfsUnstable;
|
boot.zfs.package = pkgs.zfs_unstable or pkgs.zfsUnstable;
|
||||||
|
|
||||||
# Enable bcachefs support
|
# Enable bcachefs support
|
||||||
boot.supportedFilesystems.bcachefs = lib.mkDefault true;
|
boot.supportedFilesystems.bcachefs = lib.mkDefault true;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
isUnstable = config.boot.zfs.package == pkgs.zfsUnstable;
|
isUnstable = config.boot.zfs.package == pkgs.zfs_unstable or pkgs.zfsUnstable;
|
||||||
zfsCompatibleKernelPackages = lib.filterAttrs (
|
zfsCompatibleKernelPackages = lib.filterAttrs (
|
||||||
name: kernelPackages:
|
name: kernelPackages:
|
||||||
(builtins.match "linux_[0-9]+_[0-9]+" name) != null
|
(builtins.match "linux_[0-9]+_[0-9]+" name) != null
|
||||||
|
|||||||
Reference in New Issue
Block a user