summary refs log tree commit diff stats
path: root/system/settings/configuration/user.nix
blob: 3fb06cc825416ef7f2475cb91f9241233e75a278 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ 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 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGzM6PoCJxMZk2qbBznZG2V+/yC+8MlF7SAc5LCp5fVeWnAMa1C1ZJ+l8EYnCPLjAq6SaM1Qxw6fTyurajdtnPM= lan@secretive.mba.local"
    ];
  };
}