Enable key-sharing and virt-viewer
for all VMs
This commit is contained in:
parent
ef82a7b754
commit
353a3ac630
1 changed files with 13 additions and 0 deletions
|
@ -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;
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue