Files
nixos-configs/hosts/test-vm/configuration.nix
Alexander Heldt f15701f426 Apply nixfmt
2024-09-02 21:55:41 +02:00

36 lines
636 B
Nix

{ pkgs, ... }:
{
imports = [
./ppp.pm-site.nix
];
config = {
boot.kernelPackages = pkgs.linuxPackages_latest;
networking.hostName = "test-vm";
mod = {
pppdotpm-site.enable = true;
};
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";
};
}