nixos: drop the access the ops conversion needed
All checks were successful
nixos / nixos (push) Successful in 39s
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:
parent
81381d8438
commit
106bba969f
2 changed files with 2 additions and 10 deletions
|
|
@ -18,11 +18,6 @@
|
||||||
networking.hostName = lib.mkDefault "asxpio-ops";
|
networking.hostName = lib.mkDefault "asxpio-ops";
|
||||||
networking.domain = "asxp.io";
|
networking.domain = "asxp.io";
|
||||||
asxpio.privateIPv4 = "10.10.0.10";
|
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";
|
system.stateVersion = "26.05";
|
||||||
|
|
||||||
systemd.network.networks."10-public".address = [ "2a01:4f9:c013:3258::1/64" ];
|
systemd.network.networks."10-public".address = [ "2a01:4f9:c013:3258::1/64" ];
|
||||||
|
|
|
||||||
|
|
@ -28,11 +28,8 @@ in
|
||||||
|
|
||||||
options.asxpio.xmppCertSyncKeysExtra = lib.mkOption {
|
options.asxpio.xmppCertSyncKeysExtra = lib.mkOption {
|
||||||
type = lib.types.listOf lib.types.str;
|
type = lib.types.listOf lib.types.str;
|
||||||
default = [
|
default = [ ];
|
||||||
# Debian asxpio-ops's key (Ansible role xmpp_cert_sync), until ops
|
description = "Further keys allowed to push certificates (e.g. during a migration).";
|
||||||
# runs NixOS too. Remove after the ops conversion.
|
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGLSz8AvKF/cHmMBGxn7+BqNHa/g79xmRrnb7779lXLo"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
config.users.users.root.openssh.authorizedKeys.keys = map (
|
config.users.users.root.openssh.authorizedKeys.keys = map (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue