From 0a323d7b3c48ec1b225d6d962aeb7f89837019a3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 4 Apr 2026 00:24:10 +0000 Subject: [PATCH] Revert hostName/mDNS/Caddy .local block changes from PR #34 Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/8d17fed2-7329-442e-bfa5-a96a38fb31e4 Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com> --- configuration.nix | 17 +++++------------ modules/core/caddy.nix | 8 -------- 2 files changed, 5 insertions(+), 20 deletions(-) diff --git a/configuration.nix b/configuration.nix index f9f7bb6..aca7b45 100644 --- a/configuration.nix +++ b/configuration.nix @@ -28,25 +28,18 @@ }; # ── Networking ────────────────────────────────────────────── - networking.hostName = "sovransystemsos"; + # NOTE: hostName must remain "nixos" to match the nixosConfigurations key in + # flake.nix. Changing it breaks flake-based remote upgrades with: + # error: does not provide attribute 'nixosConfigurations.""' + networking.hostName = "nixos"; networking.networkmanager.enable = true; networking.firewall.enable = true; networking.firewall.allowedTCPPorts = [ 80 443 8448 3051 ]; - networking.firewall.allowedUDPPorts = [ 80 443 8448 3051 5353 ]; + networking.firewall.allowedUDPPorts = [ 80 443 8448 3051 ]; networking.firewall.allowedUDPPortRanges = [ { from = 49152; to = 65535; } ]; - # ── mDNS / Avahi (sovransystemsos.local) ────────────────── - services.avahi = { - enable = true; - nssmdns4 = true; - publish = { - enable = true; - addresses = true; - }; - }; - # ── Locale / Time ────────────────────────────────────────── time.timeZone = "America/Los_Angeles"; i18n.defaultLocale = "en_US.UTF-8"; diff --git a/modules/core/caddy.nix b/modules/core/caddy.nix index f7d0e76..8293f12 100755 --- a/modules/core/caddy.nix +++ b/modules/core/caddy.nix @@ -145,14 +145,6 @@ $HAVEN { EOF fi - # ── Sovran Hub (LAN mDNS access) ──────────────── - cat >> /run/caddy/Caddyfile <> /run/caddy/Caddyfile <