about summary refs log tree commit diff
path: root/nix/hosts/corrino
diff options
context:
space:
mode:
authorEmile <git@emile.space>2024-06-09 00:26:28 +0200
committerEmile <git@emile.space>2024-06-09 00:26:28 +0200
commitd45c8fd168a3d33dd8de6adc26c53da2a03a3112 (patch)
tree2c7606c430518653e62abdf3d352e1f4022ac066 /nix/hosts/corrino
parentaa029646b6ecde818dfa7cda6b0fe7d5476ced38 (diff)
defining the uid manually, as the git deamon and gitolite or so would not use the same
Diffstat (limited to 'nix/hosts/corrino')
-rw-r--r--nix/hosts/corrino/www/git.emile.space.nix3
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 = { };
 }