summaryrefslogtreecommitdiff
path: root/roles/git-server.nix
blob: 2e6e0f7efbd5fd3fb370e7189e8908cb989cd8b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ ... }:
{
  users.users.git = {
    isSystemUser = true;
    hashedPassword = "$6$/HNLIUOZZmm/OZjK$.t6uB3L2vHq9oSfMv7421ubA3xv3NuCu8zAguQalNt7X5uj9ZuZbXJW3/VTfnIrY9S8KIq.YQ8hgEyts0RLAq0";
  };
  services.openssh.settings.AllowUsers = [ "git" ];
  services.gitea = {
    enable = true;
    appName = "JAP56 Git Server";
  };
}