feat(capytal,forge): explicitly create gitea user
This commit is contained in:
@@ -185,6 +185,14 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users.users.gitea = {
|
||||||
|
isSystemUser = true;
|
||||||
|
useDefaultShell = true;
|
||||||
|
group = "gitea";
|
||||||
|
extraGroups = ["gitea"];
|
||||||
|
home = config.services.gitea.stateDir;
|
||||||
|
};
|
||||||
|
|
||||||
# systemd.services.gitea-custom = let
|
# systemd.services.gitea-custom = let
|
||||||
# gitea = config.services.gitea;
|
# gitea = config.services.gitea;
|
||||||
# rsync = lib.getExe pkgs.rsync;
|
# rsync = lib.getExe pkgs.rsync;
|
||||||
|
|||||||
Reference in New Issue
Block a user