summary refs log tree commit diff stats
path: root/system/settings/configuration/user.nix
blob: 5227f0576f74900ed97cf578b6bc0583423af377 (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 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDRIsbc/xJGxEJGCCNT99kQhB1N84jPlPtrqSVF/OxbGenvk2HWbL/q/YpEUkG5eQrfV5jK8nXfNfjSsPDjF96A= alan@alanpearce.eu (sekey)"
    ];
  };
}