refactored xen_guest.nix

This commit is contained in:
Dennis Frieberg 2023-09-24 02:04:39 +02:00
parent 44a0ef0ecd
commit 16fee6f1f9
Signed by untrusted user: nerf
GPG key ID: 42DED0E2D8F04FB6

15
nixos/roles/xen_guest.nix Normal file
View file

@ -0,0 +1,15 @@
{...}: {
imports = [ ];
boot = {
loader.grub = {
device = "nodev";
enable = true;
};
initrd = {
availableKernelModules = [ "ata_piix" "sr_mod" "xen_blkfront" ];
kernelModules = [ ];
};
extraModulePackages = [ ];
};
}