summaryrefslogtreecommitdiffstats
path: root/nixos/modules/user.nix
blob: ea59b780f2e152f065445af523b06c9d877c8119 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ pkgs, ... }: {
  programs.zsh.enable = true;

  users = {
    defaultUserShell = pkgs.zsh;

    users.amper = {
      isNormalUser = true;
      description = "Ampersand";
      extraGroups = [ "networkmanager" "wheel" "input" "libvirtd" ];
      packages = with pkgs; [];
    };
  };

  # Enable automatic login for the user.
  services.getty.autologinUser = "amper";
}