diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-06-15 12:19:20 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-06-15 12:19:20 -0500 |
| commit | 85a38e3b600261ca99bf5bbeb30f3e1fc5268318 (patch) | |
| tree | 8a3e5de43c207c8ac1c3aae3b488f93d11d9d243 /hosts/poweredge/gitea.nix | |
| parent | 3eeb437ed2ba5ec983eb738c7e759cbb2d445ed1 (diff) | |
| download | nixos-85a38e3b600261ca99bf5bbeb30f3e1fc5268318.tar.xz nixos-85a38e3b600261ca99bf5bbeb30f3e1fc5268318.zip | |
gitea options for push to create
Diffstat (limited to 'hosts/poweredge/gitea.nix')
| -rw-r--r-- | hosts/poweredge/gitea.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/poweredge/gitea.nix b/hosts/poweredge/gitea.nix index 3e5c2f6..4c800df 100644 --- a/hosts/poweredge/gitea.nix +++ b/hosts/poweredge/gitea.nix @@ -5,6 +5,8 @@ hostBridge = "br-lan0"; localMacAddress = "02:00:00:00:00:03"; + # TODO make a mountpoint for git repositories + config = { lib, pkgs, config, ... }: { # Network networking.interfaces.eth0.useDHCP = true; @@ -14,6 +16,12 @@ services.gitea = { enable = true; #user = "git"; # So ssh cloning uses git@gitea + settings = { + repository = { + ENABLE_PUSH_CREATE_USER = true; + ENABLE_PUSH_CREATE_ORG = true; + }; + }; }; # SSH for repositories |
