infrastructure/nixos/templates/proxmox-lxc.nix
Vivian 3dfe40e4e2
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
apply deadnix
2023-05-04 13:06:08 +02:00

28 lines
546 B
Nix

{ lib, ... }: {
imports = [ ../common/common.nix ../common/generic-lxc.nix ];
proxmoxLXC = {
manageNetwork = true;
manageHostName = true;
privileged = false;
};
# Enable SSH
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = true;
PermitRootLogin = "yes";
};
openFirewall = true;
};
networking.hostName = lib.mkDefault "template";
time.timeZone = lib.mkDefault "Europe/Amsterdam";
system.stateVersion = "23.05";
users.users.root.initialPassword = "toor";
}