skipper: move virtualisation related config
This commit is contained in:
parent
f030c079fc
commit
e0c007d9e4
4 changed files with 18 additions and 11 deletions
|
@ -5,10 +5,10 @@
|
|||
./services
|
||||
./network
|
||||
./persistence
|
||||
./virtualisation
|
||||
./plymouth.nix
|
||||
./secureboot.nix
|
||||
./security.nix
|
||||
./virtualisation.nix
|
||||
];
|
||||
|
||||
console.useXkbConfig = true;
|
||||
|
|
3
hosts/skipper/virtualisation/default.nix
Normal file
3
hosts/skipper/virtualisation/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
_: {
|
||||
imports = [ ./libvirtd.nix ./docker.nix ];
|
||||
}
|
|
@ -25,15 +25,5 @@
|
|||
};
|
||||
storageDriver = "btrfs";
|
||||
};
|
||||
libvirtd = {
|
||||
enable = true;
|
||||
qemu = {
|
||||
package = pkgs.qemu_kvm;
|
||||
ovmf = {
|
||||
enable = true;
|
||||
packages = [ pkgs.OVMFFull.fd ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
14
hosts/skipper/virtualisation/libvirtd.nix
Normal file
14
hosts/skipper/virtualisation/libvirtd.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ pkgs, ... }: {
|
||||
virtualisation = {
|
||||
libvirtd = {
|
||||
enable = true;
|
||||
qemu = {
|
||||
package = pkgs.qemu_kvm;
|
||||
ovmf = {
|
||||
enable = true;
|
||||
packages = [ pkgs.OVMFFull.fd ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue