Compare commits

..

4 commits

4 changed files with 10 additions and 2 deletions

View file

@ -33,7 +33,7 @@
};
firewall = {
enable = true;
allowedTCPPorts = [80 443 3001]; # port 3001 opened to allow git traffic on the local netword
allowedTCPPorts = [80 443 3001 5432]; # port 3001 opened to allow git traffic on the local netword
};
};

View file

@ -12,6 +12,11 @@
settings = {
"ui" = {
DEFAULT_THEME = "palenight";
THEMES = "auto,palenight,gitea,arc-green";
};
#ui.DEFAULT_THEME = "arc-green";
# Enable this after the first user has been created
service.DISABLE_REGISTRATION = true;

View file

@ -40,6 +40,7 @@
services.postgresql = {
enable = true;
enableTCPIP = true;
ensureDatabases = [ "nextcloud" ];
ensureUsers = [
{
@ -52,7 +53,8 @@
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
'';
host all all 0.0.0.0/0 md5
''; # address is the computer you are connecting from
};
# Make sure PostSQL is running before nextcloud

File diff suppressed because one or more lines are too long