2023-10-26 02:37:42 +00:00
|
|
|
{ flake, ... }: {
|
|
|
|
# remote access
|
|
|
|
users.users = let
|
2023-11-03 04:12:17 +00:00
|
|
|
inherit (flake.config.users) me me';
|
|
|
|
myKeys = me'.sshKeys;
|
2023-10-26 02:37:42 +00:00
|
|
|
in {
|
|
|
|
root.openssh.authorizedKeys.keys = myKeys;
|
2023-11-03 04:12:17 +00:00
|
|
|
${me}.openssh.authorizedKeys.keys = myKeys;
|
2023-10-26 02:37:42 +00:00
|
|
|
};
|
|
|
|
}
|