summaryrefslogtreecommitdiff
path: root/users/gkleen/default.nix
blob: f74701a57cbe6b86bad20c09eebe2588da1e58d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ userName, pkgs, customUtils, lib, ... }:
{
  users.users.${userName} = {
    description = "Gregor Kleen";
    extraGroups = [ "wheel" "networkmanager" "lp" "dialout" "audio" "video" "xmpp" "mail" "ssh" "vboxusers" "libvirtd" "wireshark" "games"];
    group = "users";
    uid = 1000;
    createHome = true;
    home = "/home/${userName}";
    shell = "${pkgs.zsh}/bin/zsh";
    isNormalUser = true;
    openssh.authorizedKeys.keyFiles = lib.attrValues (customUtils.recImport rec { dir = ./authorized-keys; _import = name: _base: dir + "/${name}"; });
    hashedPassword = "$6$rounds=500000$dOMgCU7DAk$yQFYGOURTEt12387LIYBnFKSWmtwXMUk1LJWnV0m7OFt.y2TnxQn2abdGA5dhwG9EmMB5wZGXf4J5F71c746C/";
  };
}