summary refs log tree commit diff stats
path: root/system/settings/configuration/user.nix
blob: 9d6fed69debdfbf7654ad589e1fdbdf4461857ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ config
, pkgs
, ...
}: {
  users.extraUsers.alan = {
    description = "Alan Pearce";
    isNormalUser = true;
    extraGroups = [
      "audio"
      "wheel"
      "lp"
      "adbusers"
      "docker"
      "nitrokey"
      "dialout"
      "pipewire"
      "networkmanager"
      "libvirtd"
      "video"
    ];
    initialPassword = "password";
    home = "/home/alan";
    uid = 1000;
    openssh.authorizedKeys.keys = [
      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMvcW4Z9VxOQgEJjsRC1uSMwEJ4vru9BwjT+Z50nawp4 alan"
    ];
  };
}