mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-07 00:17:24 +08:00
14 lines
282 B
Nix
14 lines
282 B
Nix
{ flake, ... }:
|
|
|
|
{
|
|
# Let me login
|
|
users.users =
|
|
let
|
|
people = flake.config.people;
|
|
myKeys = people.users.${people.myself}.sshKeys;
|
|
in
|
|
{
|
|
root.openssh.authorizedKeys.keys = myKeys;
|
|
${people.myself}.openssh.authorizedKeys.keys = myKeys;
|
|
};
|
|
}
|