Added a bootstrap key

This commit is contained in:
2025-08-19 18:00:09 -04:00
parent 955c3255a0
commit 3497d93dcb
3 changed files with 9 additions and 8 deletions

View File

@@ -143,13 +143,13 @@
group = "root";
mode = "0400";
};
# lazyworkhorse_host_ssh_key = {
# file = ../../secrets/lazyworkhorse_host_ssh_key.age;
# owner = "root";
# group = "root";
# mode = "0600";
# path = "/etc/ssh/ssh_host_ed25519_key";
# };
lazyworkhorse_host_ssh_key = {
file = ../../secrets/lazyworkhorse_host_ssh_key.age;
owner = "root";
group = "root";
mode = "0600";
path = "/etc/ssh/ssh_host_ed25519_key";
};
};
};

View File

@@ -12,6 +12,7 @@
main = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINmXqD+bBveCYf4khmARA0uaCzkBOUIE077ZrInLNs1O";
github = "";
gitea = "";
bootstrap = "age1r796v2uldtspawyh863pks74sd2pwcan8j4e4pjzsvkmr3vjja9qpz5ste";
};
};
}

View File

@@ -1,6 +1,6 @@
let
keys = import ../lib/keys.nix;
authorizedKeys = [ keys.users.gortium.main keys.hosts.lazyworkhorse.main ];
authorizedKeys = [ keys.users.gortium.main keys.hosts.lazyworkhorse.main keys.hosts.lazyworkhorse.bootstrap ];
in
{
"containers.env.age".publicKeys = authorizedKeys;