disable gitea registration
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user