Enable settings for both vms and vms with bootloaders
This commit is contained in:
parent
fbd09f50a2
commit
d5023ed7ad
1 changed files with 15 additions and 9 deletions
|
@ -19,7 +19,9 @@
|
|||
machineConfig
|
||||
];
|
||||
|
||||
virtualisation.vmVariant = {
|
||||
virtualisation =
|
||||
let
|
||||
config = {
|
||||
virtualisation.qemu.options = [
|
||||
"-display sdl"
|
||||
];
|
||||
|
@ -31,6 +33,10 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
in {
|
||||
vmVariant = config;
|
||||
vmVariantWithBootLoader = config;
|
||||
};
|
||||
|
||||
# Networking
|
||||
networking.hostName = name;
|
||||
|
|
Loading…
Reference in a new issue