Added a bootstrap key
This commit is contained in:
@@ -143,13 +143,13 @@
|
|||||||
group = "root";
|
group = "root";
|
||||||
mode = "0400";
|
mode = "0400";
|
||||||
};
|
};
|
||||||
# lazyworkhorse_host_ssh_key = {
|
lazyworkhorse_host_ssh_key = {
|
||||||
# file = ../../secrets/lazyworkhorse_host_ssh_key.age;
|
file = ../../secrets/lazyworkhorse_host_ssh_key.age;
|
||||||
# owner = "root";
|
owner = "root";
|
||||||
# group = "root";
|
group = "root";
|
||||||
# mode = "0600";
|
mode = "0600";
|
||||||
# path = "/etc/ssh/ssh_host_ed25519_key";
|
path = "/etc/ssh/ssh_host_ed25519_key";
|
||||||
# };
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
main = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINmXqD+bBveCYf4khmARA0uaCzkBOUIE077ZrInLNs1O";
|
main = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINmXqD+bBveCYf4khmARA0uaCzkBOUIE077ZrInLNs1O";
|
||||||
github = "";
|
github = "";
|
||||||
gitea = "";
|
gitea = "";
|
||||||
|
bootstrap = "age1r796v2uldtspawyh863pks74sd2pwcan8j4e4pjzsvkmr3vjja9qpz5ste";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
let
|
let
|
||||||
keys = import ../lib/keys.nix;
|
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
|
in
|
||||||
{
|
{
|
||||||
"containers.env.age".publicKeys = authorizedKeys;
|
"containers.env.age".publicKeys = authorizedKeys;
|
||||||
|
|||||||
Reference in New Issue
Block a user