Enable key-sharing and virt-viewer for all VMs

This commit is contained in:
Manuel Thalmann 2024-05-01 04:55:17 +02:00
parent ef82a7b754
commit 353a3ac630

View file

@ -20,6 +20,19 @@
./config/custom-build-vm.nix
];
virtualisation =
let
vmConfig = {
virtualisation = {
sharedHostKeys = true;
virt-viewer = true;
};
};
in {
vmVariant = vmConfig;
vmVariantWithBootLoader = vmConfig;
};
# Networking
networking.hostName = name;
})