2022-10-15 13:44:27 +02:00
|
|
|
{ config, pkgs, lib, ... }: {
|
|
|
|
# Can't import common completely due to infinite recursion
|
|
|
|
imports = [ ./common/users ./common/generic-lxc.nix ];
|
|
|
|
|
|
|
|
# Enable SSH
|
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
|
|
|
passwordAuthentication = false;
|
|
|
|
permitRootLogin = "yes";
|
|
|
|
};
|
|
|
|
|
2022-10-17 11:55:27 +02:00
|
|
|
networking.hostName = "template";
|
|
|
|
|
2022-10-15 13:44:27 +02:00
|
|
|
time.timeZone = lib.mkDefault "Europe/Amsterdam";
|
|
|
|
|
|
|
|
networking.interfaces.eth0.useDHCP = true;
|
|
|
|
|
|
|
|
system.stateVersion = "22.11";
|
|
|
|
}
|