Add network exposure posture host facts #16

Open
opened 2026-07-01 16:15:59 +01:00 by nimmo · 0 comments
Owner

Goal

Implement Priority 3 from projects/host-facts-refactor-roadmap.md: define a host-level network exposure posture that service modules can use as a default.

Acceptance Checklist

  • Add a host fact for network exposure posture.
  • Support values such as local, lan, vpn, and public.
  • Use it only as a default and not as permission to expose every service automatically.
  • Identify the first consumer modules that should respect it.

Proposed Shape

nixosConfig.network.exposure = "local";

Candidate Consumers

  • profiles.ollama.openWebUI
  • future reverse proxy modules
  • admin tools such as Dockge/Adminer
  • media-management service profiles

Notes

This changes security posture, so keep the behavior explicit and reviewable.

## Goal Implement Priority 3 from `projects/host-facts-refactor-roadmap.md`: define a host-level network exposure posture that service modules can use as a default. ## Acceptance Checklist - Add a host fact for network exposure posture. - Support values such as `local`, `lan`, `vpn`, and `public`. - Use it only as a default and not as permission to expose every service automatically. - Identify the first consumer modules that should respect it. ## Proposed Shape ```nix nixosConfig.network.exposure = "local"; ``` ## Candidate Consumers - `profiles.ollama.openWebUI` - future reverse proxy modules - admin tools such as Dockge/Adminer - media-management service profiles ## Notes This changes security posture, so keep the behavior explicit and reviewable.
Sign in to join this conversation.
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nimmo/nixos-config#16
No description provided.