32 lines
571 B
Nix
32 lines
571 B
Nix
{ pkgs, ... }:
|
|
{
|
|
imports = [];
|
|
|
|
config = {
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
networking.hostName = "test-vm";
|
|
|
|
mod = {};
|
|
|
|
users.users.a = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "wheel" ];
|
|
password = "a";
|
|
};
|
|
|
|
virtualisation.vmVariant = {
|
|
# following configuration is added only when building VM with build-vm
|
|
virtualisation = {
|
|
memorySize = 2048;
|
|
cores = 3;
|
|
graphics = false;
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = [];
|
|
|
|
system.stateVersion = "24.05";
|
|
};
|
|
}
|