diff options
author | Emile <git@emile.space> | 2024-06-09 00:26:28 +0200 |
---|---|---|
committer | Emile <git@emile.space> | 2024-06-09 00:26:28 +0200 |
commit | d45c8fd168a3d33dd8de6adc26c53da2a03a3112 (patch) | |
tree | 2c7606c430518653e62abdf3d352e1f4022ac066 /nix/hosts | |
parent | aa029646b6ecde818dfa7cda6b0fe7d5476ced38 (diff) |
defining the uid manually, as the git deamon and gitolite or so would not use the same
Diffstat (limited to 'nix/hosts')
-rw-r--r-- | nix/hosts/corrino/www/git.emile.space.nix | 3 |
1 files changed, 2 insertions, 1 deletions
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 = { }; } |