summaryrefslogtreecommitdiff
path: root/hosts/poweredge
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/poweredge')
-rw-r--r--hosts/poweredge/gitea.nix8
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