infra/modules/darwin/common/users.nix

18 lines
409 B
Nix
Raw Normal View History

2024-09-12 14:23:03 +10:00
{ inputs, pkgs, ... }:
let
authorizedKeys = {
keys = [
2023-12-27 10:43:18 +10:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPoUUwDIYFzuUk8pxzekyVhqdYhShAtRAG+K3AJMMdjz" # effects-deployment
2024-09-12 14:23:03 +10:00
];
keyFiles = pkgs.lib.filesystem.listFilesRecursive "${inputs.self}/users/keys";
};
in
{
# TODO: refactor this to share /users with nixos
users.users = {
customer.openssh = {
inherit authorizedKeys;
};
};
}