summary refs log tree commit diff
path: root/modules/users/ks.nix
blob: 1039fd14aee35ce3cccfe80c02e1ae1dbc85642f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  config,
  pkgs,
  home-manager,
  ...
}:

{

  users.users.ks = {
    isNormalUser = true;
    extraGroups = [
      "wheel"
      "ocp"
    ];
    packages = with pkgs; [ ];
    #initialPassword = "password";
    openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPUDh1WPUF6mPQ1E38ozUjY/DZhEbwZL37eZ51DgpuLo ks" ];
  };

  home-manager.users.ks = {
    programs.git = {
      enable = true;
      userName = "Kinoshita Shimizu";
      userEmail = "ks@kinoshitaproductions.com";
      extraConfig = {
        safe = {
          directory = "/";
        };
      };
    };

    home.stateVersion = "22.11";
  };
}