31 lines
620 B
Nix
31 lines
620 B
Nix
{ lib, ... }: {
|
|
imports = [ ../common ../common/generic-vm.nix ];
|
|
|
|
proxmox.qemuConf = {
|
|
virtio0 = "local-zfs:vm-9999-disk-0";
|
|
cores = 4;
|
|
memory = 4096;
|
|
bios = "seabios";
|
|
additionalSpace = "20G";
|
|
};
|
|
|
|
# Enable SSH
|
|
services.openssh = {
|
|
enable = true;
|
|
settings = {
|
|
PasswordAuthentication = true;
|
|
PermitRootLogin = "yes";
|
|
};
|
|
openFirewall = true;
|
|
};
|
|
|
|
networking.hostName = lib.mkDefault "template";
|
|
|
|
time.timeZone = lib.mkDefault "Europe/Amsterdam";
|
|
|
|
networking.useDHCP = true;
|
|
|
|
system.stateVersion = "23.05";
|
|
|
|
users.users.root.initialPassword = "toor";
|
|
}
|