summaryrefslogtreecommitdiff
path: root/modules/users/jerry.nix
blob: b9f8b95d2ef8cb9dc8c440121a5f3520eb3ad531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{config, pkgs, lib, ... }: {

  # Define a user account. Don't forget to set a password with ‘passwd’.
  users = {

    users.jerry = {
      isNormalUser = true;
			description = "Jerry Finlinson";
      extraGroups = [ "input" "wireshark" ]; # (wheel) Enable ‘sudo’ for the user.
			shell = pkgs.nushell;
    };
  };

  security.pam = {
    sshAgentAuth.enable = true;
    # services.sudo.sshAgentAuth = true;
  };
  # I can't think of a better spot to put this rn.
  services.openssh = {
    ports = [ 22 2200 ]; # needed because isp blocks ssh over 22
  };
}