summaryrefslogtreecommitdiff
path: root/users/xmpp-template.nix
blob: ac127b35f575ee8de2c5fd7b6894d9429d0a7f25 (plain)
1
2
3
4
5
6
7
{
  name = "${firstname[0]}${lastname}";
  description = "Firstname Lastname";
  extraGroups = ["xmpp"];
  group = "users";
  hashedPassword = "$(pwgen | mkpasswd -m sha-512 -R 500000)";
}