Add virtualisation module
This commit is contained in:
parent
1e5c09b1e8
commit
49392c53a6
3 changed files with 16 additions and 1 deletions
14
modules/virtualization.nix
Normal file
14
modules/virtualization.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
virt-manager
|
||||
];
|
||||
|
||||
virtualisation = {
|
||||
libvirtd.enable = true;
|
||||
spiceUSBRedirection.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue