Kieran's opinionated (and probably slightly dumb) nix config
at main 29 lines 744 B view raw
1{ lib, ... }: 2 3{ 4 options.atelier.machine = { 5 enable = lib.mkOption { 6 type = lib.types.bool; 7 default = false; 8 description = "Include this machine in the services manifest."; 9 }; 10 11 type = lib.mkOption { 12 type = lib.types.enum [ "server" "client" ]; 13 default = "server"; 14 description = "Machine type server or client"; 15 }; 16 17 tailscaleHost = lib.mkOption { 18 type = lib.types.nullOr lib.types.str; 19 default = null; 20 description = "Tailscale hostname for reachability checks"; 21 }; 22 23 triageUrl = lib.mkOption { 24 type = lib.types.nullOr lib.types.str; 25 default = null; 26 description = "URL of the triage agent webhook for this machine's services"; 27 }; 28 }; 29}