nixos: break-glass root login on ops for its conversion
All checks were successful
nixos / nixos (push) Successful in 33s
All checks were successful
nixos / nixos (push) Successful in 33s
ops is the WireGuard hub. If WireGuard does not come back after the switch, root may still log in from the admin's exit address (services' IPv4, where the admin's traffic leaves through Xray). Root only, ops only; the dead-man reboot covers the rest. Remove after Phase 2. Assisted-by: Claude:opus-5-5
This commit is contained in:
parent
ce8b1a678e
commit
3aca8a85a3
1 changed files with 22 additions and 9 deletions
|
|
@ -18,6 +18,11 @@
|
|||
networking.hostName = lib.mkDefault "asxpio-ops";
|
||||
networking.domain = "asxp.io";
|
||||
asxpio.privateIPv4 = "10.10.0.10";
|
||||
|
||||
# Break-glass for the conversion (MIGRATION.md, Phase 2): root from the
|
||||
# admin's exit address (services' IPv4, through Xray), in case WireGuard
|
||||
# does not come back. REMOVE after Phase 2.
|
||||
asxpio.rootSshFromExtra = lib.mkDefault [ "46.62.228.216/32" ];
|
||||
system.stateVersion = "26.05";
|
||||
|
||||
systemd.network.networks."10-public".address = [ "2a01:4f9:c013:3258::1/64" ];
|
||||
|
|
|
|||
Loading…
Reference in a new issue