2022-10-15 13:44:27 +02:00
|
|
|
{ config, pkgs, lib, ... }: {
|
2023-01-07 12:52:42 +01:00
|
|
|
imports = [ ../common/common.nix ../common/generic-lxc.nix ];
|
2022-10-15 13:44:27 +02:00
|
|
|
|
2022-10-31 10:41:17 +01:00
|
|
|
proxmoxLXC = {
|
|
|
|
manageNetwork = true;
|
|
|
|
manageHostName = true;
|
|
|
|
privileged = false;
|
|
|
|
};
|
|
|
|
|
2022-10-15 13:44:27 +02:00
|
|
|
# Enable SSH
|
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
2023-01-16 21:18:47 +01:00
|
|
|
settings = {
|
|
|
|
PasswordAuthentication = true;
|
|
|
|
PermitRootLogin = "yes";
|
|
|
|
};
|
2022-10-31 10:41:17 +01:00
|
|
|
openFirewall = true;
|
2022-10-15 13:44:27 +02:00
|
|
|
};
|
|
|
|
|
2022-12-28 15:55:38 +01:00
|
|
|
networking.hostName = lib.mkDefault "template";
|
2022-10-17 11:55:27 +02:00
|
|
|
|
2022-10-15 13:44:27 +02:00
|
|
|
time.timeZone = lib.mkDefault "Europe/Amsterdam";
|
|
|
|
|
2023-01-07 12:52:42 +01:00
|
|
|
system.stateVersion = "23.05";
|
2022-10-31 10:41:17 +01:00
|
|
|
|
|
|
|
users.users.root.initialPassword = "toor";
|
2022-10-15 13:44:27 +02:00
|
|
|
}
|