summary refs log tree commit diff stats
path: root/sys/users/default.nix
blob: dc79dda4d255e4c52a5ffd6269094f45c89dcadc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{pkgs, ...}: {
  users = {
    mutableUsers = false;
    users.sils = {
      isNormalUser = true;
      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;
}