nix-config/modules/nixos-modules/home-manager/openssh.nix

12 lines
203 B
Nix

{
config,
lib,
...
}: {
users.users =
lib.attrsets.mapAttrs (name: value: {
openssh.authorizedKeys.keys = value.programs.openssh.authorizedKeys;
})
config.home-manager.users;
}