26 lines
466 B
Nix
26 lines
466 B
Nix
|
{ machineConfig, ... }: {
|
||
|
imports = [
|
||
|
./modules/custom-build-vm.nix
|
||
|
];
|
||
|
|
||
|
config = {
|
||
|
system.stateVersion = "23.11";
|
||
|
|
||
|
virtualisation =
|
||
|
let
|
||
|
vmConfig = {
|
||
|
virtualisation = {
|
||
|
sharedHostKeys = true;
|
||
|
virt-viewer = true;
|
||
|
};
|
||
|
};
|
||
|
in {
|
||
|
vmVariant = vmConfig;
|
||
|
vmVariantWithBootLoader = vmConfig;
|
||
|
};
|
||
|
|
||
|
# Networking
|
||
|
networking.hostName = machineConfig.name;
|
||
|
};
|
||
|
}
|