mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
ssh config
This commit is contained in:
parent
10298f145d
commit
818e023ddd
1
assets/ssh/pi3bplus.pub
Normal file
1
assets/ssh/pi3bplus.pub
Normal file
@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJi1BMzoSM0msvtKwoOzySYuKTpFCAanHYWQjL0tZhDI root@odroid
|
@ -26,5 +26,9 @@
|
|||||||
];
|
];
|
||||||
users.users.root.openssh.authorizedKeys.keys = [
|
users.users.root.openssh.authorizedKeys.keys = [
|
||||||
(builtins.readFile ../assets/ssh/nitrokey.pub)
|
(builtins.readFile ../assets/ssh/nitrokey.pub)
|
||||||
];
|
] ++ (
|
||||||
|
if (config.networking.hostName == "yodaNas")
|
||||||
|
then [(builtins.readFile ../assets/ssh/pi3bplus.pub)]
|
||||||
|
else []
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user