mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-16 19:22:00 -05:00
17 lines
298 B
Nix
17 lines
298 B
Nix
{
|
|
hostname,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; let
|
|
inherit (import ../../hosts/${hostname}/env.nix) QEMU-VM-Use-Case;
|
|
in {
|
|
config = mkIf QEMU-VM-Use-Case {
|
|
services = {
|
|
spice-vdagentd.enable = true;
|
|
spice-webdavd.enable = true;
|
|
};
|
|
virtualisation.libvirtd.enable = true;
|
|
};
|
|
}
|