nix-config/nixos/_mixins/users/pxe/default.nix
2024-05-23 15:02:20 -04:00

8 lines
277 B
Nix

{ sshMatrix, ... }:
{
users.users.pxe = {
# mkpasswd -m sha-512
hashedPassword = "$6$P.52FPzkhqEhwBXH$YAdjuSoboOkgQs6y5JBKOyknQ8Hb.hgsfTPv8ehuI9oyTUbgCp8fD2TsqpDQM8qanmounKKitrcFg4b7aY7Ap0";
openssh.authorizedKeys.keys = sshMatrix.groups.privileged_users;
};
}