This commit is contained in:
Sveske-Juice 2025-05-27 13:59:53 +02:00
parent 22ab6fa3de
commit bb0fa37756

View file

@ -1,4 +1,6 @@
{pkgs, ...}: {
{pkgs, ...}: let
haport = 8123;
in {
system.stateVersion = "24.05";
users.groups.admin = {};
users.users = {
@ -14,7 +16,7 @@
settings.PasswordAuthentication = true;
};
networking.firewall.allowedTCPPorts = [22 8123];
networking.firewall.allowedTCPPorts = [22 haport];
environment.systemPackages = with pkgs; [
htop
];
@ -34,7 +36,7 @@
# HA
{
from = "host";
host.port = 8123;
host.port = haport;
guest.port = 8123;
}
];