summary refs log tree commit diff stats
path: root/system/settings/configuration/user.nix
blob: 53120fed5dc4548aa7277c007209c0f324a2fb57 (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" "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"
    ];
  };
}