mirror of
https://codeberg.org/muon/home.git
synced 2025-12-05 23:57:46 +00:00
18 lines
441 B
Nix
18 lines
441 B
Nix
{ config, lib, pkgs, modulesPath, ... }: {
|
|
imports =
|
|
[ (modulesPath + "/profiles/qemu-guest.nix")
|
|
];
|
|
|
|
networking.useDHCP = lib.mkForce true;
|
|
|
|
virtualisation.vmVariant = {
|
|
# following configuration is added only when building VM with build-vm
|
|
virtualisation = {
|
|
memorySize = 2048; # Use 2048MiB memory.
|
|
cores = 3;
|
|
graphics = false;
|
|
};
|
|
};
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
}
|