zfs: set kernel only as default
This commit is contained in:
parent
60aed4d9af
commit
cbda462e44
|
@ -12,7 +12,7 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enabled {
|
||||
boot.kernelPackages = lib.mkIf cfg.latestCompatibleKernel config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||
boot.kernelPackages = lib.mkIf cfg.latestCompatibleKernel (lib.mkDefault config.boot.zfs.package.latestCompatibleLinuxPackages);
|
||||
|
||||
services.zfs = lib.mkIf cfg.recommendedDefaults {
|
||||
autoScrub.enable = true;
|
||||
|
|
Loading…
Reference in New Issue