summary refs log tree commit diff stats
path: root/system/settings/configuration/user.nix
blob: 070d75a3f2a6aeacb0a6ece5db19f9f78ec737c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ config
, pkgs
, ...
}: {
  users.extraUsers.alan = {
    description = "Alan Pearce";
    isNormalUser = true;
    extraGroups = [ "audio" "wheel" "lp" "adbusers" "docker" "nitrokey" "dialout" "pipewire" "networkmanager" "video" ];
    shell = "/run/current-system/sw/bin/zsh";
    initialPassword = "password";
    home = "/home/alan";
    uid = 1000;
    openssh.authorizedKeys.keys = [
      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMvcW4Z9VxOQgEJjsRC1uSMwEJ4vru9BwjT+Z50nawp4 alan"
    ];
  };
}