blob: da4ded8d66447d0605d9f4a7396da7216239229f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
hardware.cpu.amd.updateMicrocode = true; # Why not?
hardware.cpu.intel.updateMicrocode = true; # Why not?
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
boot = {
kernelModules = [];
kernelPackages = pkgs.linuxPackages_6_1; # use this kernel, as it's supported by zfs
zfs.enableUnstable = true; # Default zfs is "broken" (to nixos) on the newest kernel
};
}
|