users: authorize ssh keys with builtins.readFile to work around initrd ssh issues #49
Some checks are pending
flakehub / flakehub-publish (push) Waiting to run
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run

This commit is contained in:
Aly Raffauf 2024-07-20 12:21:50 -04:00
parent 10948dcca8
commit caaa77a642

View file

@ -8,18 +8,13 @@ self: {
users = {
mutableUsers = false;
users.root.openssh.authorizedKeys = {
keys = [
users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG0HAmaMTAvrFrinB+b83c8hq6PyjmxRHg1IxR2GH6RN u0_a344@localhost" # termux on wallace
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGcJBb7+ZxkDdk06A0csNsbgT9kARUN185M8k3Lq7E/d u0_a336@localhost" # termux on winona
(builtins.readFile ../secrets/publicKeys/aly_lavaridge.pub)
(builtins.readFile ../secrets/publicKeys/aly_mauville.pub)
(builtins.readFile ../secrets/publicKeys/aly_petalburg.pub)
(builtins.readFile ../secrets/publicKeys/aly_rustboro.pub)
];
keyFiles = [
../secrets/publicKeys/aly_lavaridge.pub
../secrets/publicKeys/aly_mauville.pub
../secrets/publicKeys/aly_petalburg.pub
../secrets/publicKeys/aly_rustboro.pub
];
};
};
}