From d45c8fd168a3d33dd8de6adc26c53da2a03a3112 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 9 Jun 2024 00:26:28 +0200 Subject: defining the uid manually, as the git deamon and gitolite or so would not use the same --- nix/hosts/corrino/www/git.emile.space.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nix/hosts/corrino') diff --git a/nix/hosts/corrino/www/git.emile.space.nix b/nix/hosts/corrino/www/git.emile.space.nix index f05c83d..2d3dca7 100644 --- a/nix/hosts/corrino/www/git.emile.space.nix +++ b/nix/hosts/corrino/www/git.emile.space.nix @@ -1,4 +1,4 @@ -{ pkgs, config, ... }: +{ lib, pkgs, config, ... }: let cfg = config.services.gitea; @@ -166,6 +166,7 @@ in { group = "git"; extraGroups = [ "gitea" ]; home = cfg.stateDir; + uid = 127; }; users.groups.git = { }; } -- cgit 1.4.1