17 lines
412 B
Nix
17 lines
412 B
Nix
{pkgs, ...}:
|
|
{
|
|
networking.hostName = "clementine";
|
|
virtualisation = {
|
|
forwardPorts = [
|
|
{ from = "host"; host.port = 2222; guest.port = 22; }
|
|
];
|
|
graphics = true;
|
|
qemu.options = [
|
|
"-bios" "${pkgs.OVMF.fd}/FV/OVMF.fd"
|
|
"-audiodev" "driver=pa,id=default"
|
|
"-device" "intel-hda"
|
|
"-device" "hda-output,audiodev=default"
|
|
];
|
|
};
|
|
services.qemuGuest.enable = true;
|
|
}
|