summary refs log tree commit diff
path: root/modules/git.nix
blob: 1d592f0ba64efd5ee2b7b4f84d6c8deb733edca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ me, security, pkgs, ... }:

{
  users.users.git = {
    isSystemUser = true;
    description = "Git user";
    shell = "${pkgs.git}/bin/git-shell";
    home = "/srv/git";
    group = "git";

    openssh.authorizedKeys.keys = security.keys;
  };
  users.groups.git = {};
}