kernel: default to zfs-enabled

This commit is contained in:
Motiejus Jakštys 2024-03-06 10:37:59 +02:00
parent f5edd23253
commit f67a9f7438
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@
{ {
self, self,
lib, lib,
pkgs,
modulesPath, modulesPath,
... ...
}: { }: {
@ -30,8 +29,6 @@
makeUsbBootable = true; # USB booting makeUsbBootable = true; # USB booting
}; };
boot.kernelPackages = pkgs.zfs.latestCompatibleLinuxPackages;
swapDevices = []; swapDevices = [];
services = { services = {

View File

@ -39,6 +39,8 @@ in {
boot.kernel.sysctl."kernel.sysrq" = "438"; boot.kernel.sysctl."kernel.sysrq" = "438";
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
boot.kernelPackages = lib.mkDefault pkgs.zfs.latestCompatibleLinuxPackages;
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
time.timeZone = cfg.timeZone; time.timeZone = cfg.timeZone;