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