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