39 lines
747 B
Nix
39 lines
747 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";
|
|
};
|
|
services.getty.autologinUser = "a";
|
|
security.sudo.wheelNeedsPassword = false;
|
|
|
|
virtualisation.vmVariant = {
|
|
# following configuration is added only when building VM with build-vm
|
|
virtualisation = {
|
|
diskSize = 4096;
|
|
memorySize = 2048;
|
|
cores = 3;
|
|
graphics = false;
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = [ ];
|
|
|
|
system.stateVersion = "24.05";
|
|
};
|
|
}
|