bakke: fix eval warnings about kernel packages

This commit is contained in:
h7x4
2026-01-26 13:35:16 +09:00
parent fffdf77d6f
commit 20eec03cd4

View File

@@ -1,17 +1,17 @@
{ config, pkgs, lib, ... }:
{ pkgs,... }:
{
# Boot drives:
boot.swraid.enable = true;
# ZFS Data pool:
environment.systemPackages = with pkgs; [ zfs ];
boot = {
zfs = {
extraPools = [ "tank" ];
requestEncryptionCredentials = false;
};
supportedFilesystems = [ "zfs" ];
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
supportedFilesystems.zfs = true;
# Use stable linux packages, these work with zfs
kernelPackages = pkgs.linuxPackages;
};
services.zfs.autoScrub = {
enable = true;