2023-02-25 13:45:21 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
boot.loader.systemd-boot.enable = lib.mkForce false;
|
|
|
|
|
2023-11-11 00:12:57 +00:00
|
|
|
#pub-solar.concourse-server.enable = true;
|
|
|
|
|
2023-02-25 13:45:21 +00:00
|
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
|
|
|
|
services.openssh.ports = [2222];
|
|
|
|
|
|
|
|
networking.nat.enable = true;
|
2023-04-01 14:48:43 +00:00
|
|
|
networking.nat.internalIPs = ["10.10.42.0/24" "10.0.1.1"];
|
|
|
|
networking.nat.externalInterface = "br0";
|
2023-02-25 13:45:21 +00:00
|
|
|
|
2023-03-07 15:48:46 +00:00
|
|
|
networking.firewall.enable = lib.mkForce true;
|
2023-02-25 13:45:21 +00:00
|
|
|
networking.firewall.allowedTCPPorts = [80 443 2222];
|
|
|
|
networking.firewall.allowedUDPPorts = [51899];
|
|
|
|
|
2023-11-11 00:06:36 +00:00
|
|
|
pub-solar.server.enable = true;
|
|
|
|
hardware.ksm.enable = true;
|
|
|
|
|
2023-02-25 13:45:21 +00:00
|
|
|
system.stateVersion = "21.05"; # Did you read the comment?
|
|
|
|
}
|