disable gitea registration

This commit is contained in:
nicknase27
2026-07-25 23:46:17 +02:00
parent fe85efa90e
commit ea736b53e2
3 changed files with 5 additions and 2 deletions
+1 -2
View File
@@ -39,7 +39,7 @@
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
inputs.agenix.packages."${system}".default inputs.agenix.packages."${stdenv.hostPlatform.system}".default
neovim neovim
wget wget
curl curl
@@ -54,7 +54,6 @@
]; ];
networking.firewall.enable = false; networking.firewall.enable = false;
networking.firewall.allowedTCPPorts = [8222];
networking.nftables.enable = true; networking.nftables.enable = true;
+3
View File
@@ -15,6 +15,9 @@
DOMAIN = "git.nicknase27.com"; DOMAIN = "git.nicknase27.com";
ROOT_URL = "https://git.nicknase27.com"; ROOT_URL = "https://git.nicknase27.com";
}; };
service = {
DISABLE_REGISTRATION = true;
};
}; };
}; };
+1
View File
@@ -17,6 +17,7 @@
}; };
environmentFile = ["/run/secrets/vaultwarden.env"]; environmentFile = ["/run/secrets/vaultwarden.env"];
}; };
networking.firewall.allowedTCPPorts = [8222];
age.secrets.vaultwarden = { age.secrets.vaultwarden = {
file = ../../secrets/vaultwarden.age; file = ../../secrets/vaultwarden.age;
path = "/run/secrets/vaultwarden.env"; path = "/run/secrets/vaultwarden.env";