- router.dnsProviders: named accounts at DNS providers, used by dynamic DNS and certificates (ddclient and lego provider lists in pkgs/router-webui/providers.json). Schema 2 migrates router.ddns. - router.acme: a Let's Encrypt certificate for the web UI via security.acme (DNS-01, resolver 1.1.1.1), served and reloaded by the web UI; Certificate page. - Web UI: password change (web UI and root), reboot button, HTTP to HTTPS redirect (router.webui.httpPort), grouped menu. - Latest kernel (linuxPackages_latest); 7.3 and 7.3.0 are the same kernel for the reboot hint. - SPECS.md: wanted later (REST API, GraphQL, MCP). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AeFqV9dZrK6nipHkPfyM4F
22 lines
487 B
Nix
22 lines
487 B
Nix
{ lib, buildGo127Module }:
|
|
buildGo127Module {
|
|
pname = "router-webui";
|
|
version = "0.1.0";
|
|
src = lib.fileset.toSource {
|
|
root = ./.;
|
|
fileset = lib.fileset.unions [
|
|
./go.mod
|
|
(lib.fileset.fileFilter (f: f.hasExt "go") ./.)
|
|
./providers.json
|
|
./templates
|
|
./static
|
|
];
|
|
};
|
|
# Standard library only.
|
|
vendorHash = null;
|
|
meta = {
|
|
description = "Web UI for a nixos-router configured by settings.json";
|
|
mainProgram = "router-webui";
|
|
};
|
|
}
|