diff --git a/nixos/roles/default.nix b/nixos/roles/default.nix index b3156ba..7296a1d 100644 --- a/nixos/roles/default.nix +++ b/nixos/roles/default.nix @@ -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 = '' diff --git a/nixos/roles/xen_guest.nix b/nixos/roles/xen_guest.nix deleted file mode 100644 index f7cef3e..0000000 --- a/nixos/roles/xen_guest.nix +++ /dev/null @@ -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; - }; -} -