infrastructure/nixos/templates/proxmox-vm.nix
Vivian ee4936465c
Some checks failed
Lint / lint (push) Failing after 2m11s
Plex Update / update (push) Successful in 2m15s
move service to different flake
2023-12-19 14:52:25 +01:00

32 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";
}