Files
nixos-macmini/modules/system/networking.nix
2026-01-27 13:55:39 +00:00

19 lines
254 B
Nix

{ ... }:
{
services.openssh.enable = true;
networking = {
hostName = "macmini";
networkmanager.enable = true;
};
networking.firewall = {
enable = true;
allowPing = true;
allowedTCPPorts = [
22
8443
];
};
}