summary refs log tree commit diff stats
path: root/modules/user.nix
blob: 36edd1fd0312da00188e6f4a7ef907f5da128092 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ config, libs, pkgs, ... }:
{

  users.users.admin = {
    isNormalUser = true;
    extraGroups = [ "wheel" ];
    openssh.authorizedKeys.keys = [ 
      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBi+VYFQOfb7J2eJd8CiXKcaLD+QfztXiS2pU07oHZNr chris@archiso"
      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDwlqdl/70dJ1ABKwLEdLB6/RDpfE4RVaB+xL3YJ1v3+ chris@kingpin"
    ];
  };
  security.sudo.wheelNeedsPassword = false;

}