mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-23 21:25:28 -08:00
Compare commits
4 commits
9d756a2046
...
6c37553143
Author | SHA1 | Date | |
---|---|---|---|
6c37553143 | |||
570ff894f8 | |||
6ac280f0a2 | |||
63e084daa0 |
4 changed files with 10 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
||||||
};
|
};
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
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
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,11 @@
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
|
||||||
|
"ui" = {
|
||||||
|
DEFAULT_THEME = "palenight";
|
||||||
|
THEMES = "auto,palenight,gitea,arc-green";
|
||||||
|
};
|
||||||
|
|
||||||
#ui.DEFAULT_THEME = "arc-green";
|
#ui.DEFAULT_THEME = "arc-green";
|
||||||
# Enable this after the first user has been created
|
# Enable this after the first user has been created
|
||||||
service.DISABLE_REGISTRATION = true;
|
service.DISABLE_REGISTRATION = true;
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
|
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableTCPIP = true;
|
||||||
ensureDatabases = [ "nextcloud" ];
|
ensureDatabases = [ "nextcloud" ];
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
|
@ -52,7 +53,8 @@
|
||||||
local all all trust
|
local all all trust
|
||||||
host all all 127.0.0.1/32 trust
|
host all all 127.0.0.1/32 trust
|
||||||
host all all ::1/128 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
|
# Make sure PostSQL is running before nextcloud
|
||||||
|
|
1
rsrcs/giteaCustomDir/public/css/theme-palenight.css
Normal file
1
rsrcs/giteaCustomDir/public/css/theme-palenight.css
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue