mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
14 lines
297 B
Nix
14 lines
297 B
Nix
{
|
|
std,
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (std) list;
|
|
inherit (lib.modules) mkDefault mkIf;
|
|
in {
|
|
boot = mkIf (list.elem "zfs" config.boot.supportedFilesystems) {
|
|
kernelPackages = mkDefault config.boot.zfs.package.latestCompatibleLinuxPackages;
|
|
zfs.enableUnstable = true;
|
|
};
|
|
}
|