Install mciasctl, mciasgrpcctl, mcrctl, and mcproxyctl via new configs/mcpkg.nix module. Adds flake inputs for mcias, mcr, and mc-proxy from git.wntrmute.dev. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
19 lines
497 B
Nix
19 lines
497 B
Nix
{ inputs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./disk-config.nix
|
|
../../configs/mcpkg.nix
|
|
];
|
|
|
|
config = {
|
|
# Allow rootless containers (Podman) to bind port 53 for CoreDNS (MCNS precursor).
|
|
boot.kernel.sysctl."net.ipv4.ip_unprivileged_port_start" = 53;
|
|
|
|
# Open ports: DNS (53), mc-proxy (443, 8443, 9443), exod (8080, 9090).
|
|
networking.firewall.allowedTCPPorts = [ 53 443 8443 9443 8080 9090 ];
|
|
networking.firewall.allowedUDPPorts = [ 53 ];
|
|
};
|
|
}
|