refactored xen_guest.nix
This commit is contained in:
parent
44a0ef0ecd
commit
16fee6f1f9
1 changed files with 15 additions and 0 deletions
15
nixos/roles/xen_guest.nix
Normal file
15
nixos/roles/xen_guest.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{...}: {
|
||||
imports = [ ];
|
||||
boot = {
|
||||
loader.grub = {
|
||||
device = "nodev";
|
||||
enable = true;
|
||||
};
|
||||
initrd = {
|
||||
availableKernelModules = [ "ata_piix" "sr_mod" "xen_blkfront" ];
|
||||
kernelModules = [ ];
|
||||
};
|
||||
extraModulePackages = [ ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in a new issue