zaneyos/config/system/vm.nix

9 lines
253 B
Nix
Raw Normal View History

{ pkgs, config, lib, host, ... }:
2024-01-29 17:16:18 +01:00
let inherit (import ../../hosts/${host}/options.nix) cpuType; in
2024-01-29 17:16:18 +01:00
lib.mkIf ("${cpuType}" == "vm") {
services.qemuGuest.enable = true;
services.spice-vdagentd.enable = true;
2024-01-30 00:10:35 +01:00
services.spice-webdavd.enable = true;
2024-01-29 17:16:18 +01:00
}