Files
imladris/hw/orion/default.nix
Kyle Isom 755450e72e fix orion: remove bogus "crypted" LUKS device reference
The FIDO2 crypttab options are already on the correct UUID-named device
in hardware-configuration.nix; the "crypted" name only applies to
disko-provisioned hosts (rift).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 01:00:19 -07:00

26 lines
827 B
Nix

{ inputs, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
# orion started as a desktop with an interactive installer;
# the disk is already provisioned.
# ./disk-config.nix
../../configs/mcpkg.nix
../../configs/mcp.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 ];
# Route internal Metacircular zones to rift's own CoreDNS.
networking.nameservers = [ "192.168.88.181" "100.95.252.120" ];
services.resolved.domains = [ "~mcp.metacircular.net" ];
};
}