use the nixpkgs xen module

This commit is contained in:
Dennis Frieberg 2023-10-05 00:16:25 +02:00
parent 3dc8c90a27
commit 4f414fa1d7
Signed by: nerf
GPG key ID: 42DED0E2D8F04FB6
2 changed files with 2 additions and 18 deletions

View file

@ -1,9 +1,9 @@
{pkgs, config, lib, ...} : {
{pkgs, config, lib, modulesPath, ...} : {
imports = [
./admins.nix
./nix_keys.nix
./xen_guest.nix
(modulesPath + "/virtualisation/xen-domU.nix")
];
nix = {
extraOptions = ''

View file

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