infrastructure/nixos/proxmox-lxc.nix
2022-11-04 18:16:54 +01:00

28 lines
549 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 = "template";
time.timeZone = lib.mkDefault "Europe/Amsterdam";
networking.useDHCP = true;
system.stateVersion = "22.11";
users.users.root.initialPassword = "toor";
}