11 lines
255 B
Nix
11 lines
255 B
Nix
|
{ flake, ... }: {
|
||
|
# remote access
|
||
|
users.users = let
|
||
|
inherit (flake.config) people;
|
||
|
myKeys = people.users.${people.me}.sshKeys;
|
||
|
in {
|
||
|
root.openssh.authorizedKeys.keys = myKeys;
|
||
|
${people.me}.openssh.authorizedKeys.keys = myKeys;
|
||
|
};
|
||
|
}
|