summary refs log tree commit diff stats
path: root/system/settings/configuration/user.nix
blob: ccb4332368d1006420f31ad4102f22751fcecc5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  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 = [
      "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDy4tGt1GkxFqeEso10vCjMk/k6hwfHIDQXopCHPBTqiBX/80Dwx7TW8KtaJEU6GWpKJt1dQof0yx2iLbKmNyEg= prefect@secretive.mba.local"
    ];
  };
}