summaryrefslogtreecommitdiff
path: root/users/templates/xmpp.nix
blob: c69c4e5eaa4dc7c3dcbf80a7e97eaea9da824bef (plain)
1
2
3
4
5
6
7
8
9
{
  name = "${firstname[0]}${lastname}"; # lowercase ascii, please
  description = "Firstname Lastname";
  extraGroups = ["xmpp"];
  group = "users";
  hashedPassword = "$(pwgen -s 32 1 | tee /dev/stderr | mkpasswd -s -m sha-512 -R 500000)";
  isNormalUser = true;
  hosts = ["ymir"];
}