summary refs log tree commit diff stats
path: root/sys/users/default.nix
blob: b4f7cfef072c6a6c1d57f1e6f240108c1e50f161 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{pkgs, ...}: {
  users = {
    groups.sils = {
      gid = 1111;
    };
    mutableUsers = false;
    users.sils = {
      isNormalUser = true;
      uid = 1000;
      group = "sils";
      home = "/home/sils";
      shell = pkgs.zsh;
      initialHashedPassword = "$y$j9T$r4578Hy9jZHmUH9uSr9OI.$SuR2anRq7EJ1gUJ6vi9qYmZrhLP.o3O5643IG6r5Ap/";
      extraGroups = ["wheel" "networkmanager"];
    };
  };
  services.xserver.displayManager.autoLogin = {
    enable = true;
    user = "sils";
  };
  programs.zsh.enable = true;
}