Compare commits

3 Commits

Author SHA1 Message Date
Sovran_Systems
e8784cdedc Merge pull request #39 from naturallaw777/copilot/revert-hostname-mdns-caddy-changes
Revert hostName/mDNS/Caddy .local changes; restore flake-rebuild compatibility
2026-04-03 19:25:24 -05:00
copilot-swe-agent[bot]
0a323d7b3c 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>
2026-04-04 00:24:10 +00:00
copilot-swe-agent[bot]
74853431e1 Initial plan 2026-04-04 00:22:41 +00:00
2 changed files with 5 additions and 20 deletions

View File

@@ -28,25 +28,18 @@
}; };
# ── Networking ────────────────────────────────────────────── # ── 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."<hostname>"'
networking.hostName = "nixos";
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
networking.firewall.enable = true; networking.firewall.enable = true;
networking.firewall.allowedTCPPorts = [ 80 443 8448 3051 ]; 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 = [ networking.firewall.allowedUDPPortRanges = [
{ from = 49152; to = 65535; } { from = 49152; to = 65535; }
]; ];
# ── mDNS / Avahi (sovransystemsos.local) ──────────────────
services.avahi = {
enable = true;
nssmdns4 = true;
publish = {
enable = true;
addresses = true;
};
};
# ── Locale / Time ────────────────────────────────────────── # ── Locale / Time ──────────────────────────────────────────
time.timeZone = "America/Los_Angeles"; time.timeZone = "America/Los_Angeles";
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";

View File

@@ -145,14 +145,6 @@ $HAVEN {
EOF EOF
fi fi
# Sovran Hub (LAN mDNS access)
cat >> /run/caddy/Caddyfile <<EOF
http://sovransystemsos.local {
reverse_proxy localhost:8937
}
EOF
# RTL (LAN access) # RTL (LAN access)
cat >> /run/caddy/Caddyfile <<EOF cat >> /run/caddy/Caddyfile <<EOF