summary refs log tree commit diff stats
path: root/system/settings/configuration/user.nix
blob: 33b678e9c655ce7e25b08b6158917bfa21f4784b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ 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"
    ];
  };
}