infrastructure/nixos/templates/proxmox-lxc.nix
2023-01-07 12:52:42 +01:00

28 lines
565 B
Nix

{ config, pkgs, lib, ... }: {
imports = [ ../common/common.nix ../common/generic-lxc.nix ];
proxmoxLXC = {
manageNetwork = true;
manageHostName = true;
privileged = false;
};
# Enable SSH
services.openssh = {
enable = true;
passwordAuthentication = false;
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";
}