forked from Fachschaft/nixConfig
use the nixpkgs xen module
This commit is contained in:
parent
3dc8c90a27
commit
4f414fa1d7
2 changed files with 2 additions and 18 deletions
|
@ -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 = ''
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in a new issue