Skip to content

Commit

Permalink
zfs: set kernel only as default
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Apr 1, 2024
1 parent 60aed4d commit cbda462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/zfs.nix
Expand Up @@ -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;
Expand Down

0 comments on commit cbda462

Please sign in to comment.