mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-17 03:31:59 -05:00
Init:start-nix
This commit is contained in:
16
modules/services/qemu.nix
Normal file
16
modules/services/qemu.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user