nixos: drop the access the ops conversion needed
All checks were successful
nixos / nixos (push) Successful in 39s

asxpio-ops runs NixOS since 2026-11-17. Remove the break-glass root
login from the admin's exit address, and on services the key Debian
ops pushed certificates with: ops now pushes with its own key from
sops, which services keeps.

Assisted-by: Claude:opus-5-5
This commit is contained in:
Sergei Poljanski 2026-11-17 09:20:57 +04:00
commit 106bba969f
Signed by: asxpi
GPG key ID: 4F8851660FA4121B
2 changed files with 2 additions and 10 deletions

View file

@ -18,11 +18,6 @@
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" ];

View file

@ -28,11 +28,8 @@ in
options.asxpio.xmppCertSyncKeysExtra = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [
# Debian asxpio-ops's key (Ansible role xmpp_cert_sync), until ops
# runs NixOS too. Remove after the ops conversion.
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGLSz8AvKF/cHmMBGxn7+BqNHa/g79xmRrnb7779lXLo"
];
default = [ ];
description = "Further keys allowed to push certificates (e.g. during a migration).";
};
config.users.users.root.openssh.authorizedKeys.keys = map (