old
1{
2 config,
3 lib,
4 ...
5}: {
6 boot.kernelParams = [
7 "audit=0"
8 "net.ifnames=0"
9 ];
10
11 boot.initrd = {
12 compressor = "zstd";
13 compressorArgs = ["-19" "-T0"];
14 availableKernelModules = ["virtio_blk" "virtio_pci" "virtio_scsi"];
15 systemd.enable = true;
16 };
17
18 boot.loader.grub = {
19 enable = true;
20 default = "saved";
21 # Force solve mirroredBoots error
22 # See https://github.com/nix-community/disko/issues/1068#issuecomment-2974926079
23 devices = lib.mkForce ["/dev/vda"];
24 };
25}