building server container repo
This commit is contained in:
parent
243b460145
commit
aed77cf69d
1 changed files with 11 additions and 11 deletions
|
|
@ -2,15 +2,17 @@
|
|||
|
||||
{
|
||||
virtualisation = {
|
||||
};
|
||||
libvirtd = {
|
||||
enable = true;
|
||||
qemu.ovmf.enable = true;
|
||||
qemu.swtpm.enable = true;
|
||||
qemu.ovmf.packages = [ pkgs.OVMFFull ];
|
||||
qemu = {
|
||||
ovmf.enable = true;
|
||||
swtpm.enable = true;
|
||||
ovmf.packages = [ pkgs.OVMFFull ];
|
||||
};
|
||||
spiceUSBRedirection.enable = true;
|
||||
};
|
||||
spiceUSBRedirection.enable = true;
|
||||
};
|
||||
|
||||
services.spice-vdagentd.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
@ -21,19 +23,17 @@
|
|||
spice-protocol
|
||||
win-virtio
|
||||
win-spice
|
||||
# quickemu
|
||||
# quickemu
|
||||
spicy
|
||||
];
|
||||
];
|
||||
|
||||
users.extraGroups.vboxusers.members = [ "jsutter" ];
|
||||
|
||||
environment.sessionVariables.LIBVIRT_DEFAULT_URI = [ "qemu:///system" ];
|
||||
environment.sessionVariables.LIBVIRT_DEFAULT_URI = "qemu:///system";
|
||||
|
||||
boot.kernelModules = [ "kvm-intel" "kvm-amd" ];
|
||||
|
||||
virtualisation.libvirtd.allowedBridges =
|
||||
[ "br0" ];
|
||||
virtualisation.libvirtd.allowedBridges = [ "br0" ];
|
||||
|
||||
networking.interfaces.br0.useDHCP = true;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue