aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/users/lin/default.nix
blob: 048a6fc413a7396ecd2f0c92a6862fcf3f468e2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ pkgs, config, ... }:
let
  ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
  uid = 1001;
in
{
  users.groups.lin.gid = uid;
  users.users.lin = {
    description = "Lindsey Holcomb";
    group = "lin";
    home = "/data/home/lin";
    isNormalUser = true;

    packages = [ pkgs.home-manager ];
    #shell = pkgs.zsh;
    uid = uid;
  };
}