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