mirror of
https://github.com/pvlnes/homelab.git
synced 2026-06-03 22:03:50 +00:00
Compare commits
No commits in common. "cf1ebe484bfe909f8fd99a7a0f646c114d57a49f" and "7141b20a8dfb553635db7ead847ad7548b71f042" have entirely different histories.
cf1ebe484b
...
7141b20a8d
@ -18,15 +18,6 @@
|
|||||||
"net.ipv6.conf.default.disable_ipv6" = 1;
|
"net.ipv6.conf.default.disable_ipv6" = 1;
|
||||||
"net.ipv6.conf.lo.disable_ipv6" = 1;
|
"net.ipv6.conf.lo.disable_ipv6" = 1;
|
||||||
};
|
};
|
||||||
# Boot blacklist WiFi drivers
|
|
||||||
boot.blacklistedKernelModules = [
|
|
||||||
"mt7921e"
|
|
||||||
"mt7921_common"
|
|
||||||
"mt76_connac_lib"
|
|
||||||
"mt76"
|
|
||||||
"mt792x_lib"
|
|
||||||
"mt7921_lib"
|
|
||||||
];
|
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
boot.extraModulePackages = with config.boot.kernelPackages; [
|
boot.extraModulePackages = with config.boot.kernelPackages; [
|
||||||
r8125
|
r8125
|
||||||
@ -122,9 +113,6 @@
|
|||||||
ignoreregex =
|
ignoreregex =
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# For VsCode
|
|
||||||
programs.nix-ld.enable = true;
|
|
||||||
|
|
||||||
# Disable suspend of my homelab. Added when my server every ~15 minutes suspend.
|
# Disable suspend of my homelab. Added when my server every ~15 minutes suspend.
|
||||||
services.logind.settings.Login = {
|
services.logind.settings.Login = {
|
||||||
HandlePowerKey = "poweroff";
|
HandlePowerKey = "poweroff";
|
||||||
@ -262,8 +250,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall.allowedTCPPorts = [22 80 443 53 3389 3724 8086];
|
networking.firewall.allowedTCPPorts = [22 80 443 53 ];
|
||||||
networking.firewall.allowedUDPPorts = [53 3389 ];
|
networking.firewall.allowedUDPPorts = [ 53 ];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
# networking.firewall.enable = false;
|
# networking.firewall.enable = false;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -1,11 +0,0 @@
|
|||||||
POSTGRES_USER=gitea
|
|
||||||
POSTGRES_PASSWORD=change_me
|
|
||||||
POSTGRES_DB=gitea
|
|
||||||
GITEA_DB_TYPE=postgres
|
|
||||||
GITEA_DB_HOST=gitea-db:5432
|
|
||||||
GITEA_DB_NAME=gitea
|
|
||||||
GITEA_DB_USER=gitea
|
|
||||||
GITEA_DB_PASSWORD=change_me
|
|
||||||
GITEA_ROOT_URL=https://git.sesur.dev/
|
|
||||||
GITEA_SSH_DOMAIN=git.sesur.dev
|
|
||||||
GITEA_SSH_PORT=2222
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
services:
|
|
||||||
gitea:
|
|
||||||
image: gitea/gitea:1.22
|
|
||||||
container_name: gitea
|
|
||||||
restart: unless-stopped
|
|
||||||
env_file:
|
|
||||||
- /srv/gitea/env/gitea.env
|
|
||||||
environment:
|
|
||||||
USER_UID: "1000"
|
|
||||||
USER_GID: "1000"
|
|
||||||
volumes:
|
|
||||||
- /srv/gitea/data:/data
|
|
||||||
ports:
|
|
||||||
- "127.0.0.1:3001:3000"
|
|
||||||
- "2222:22"
|
|
||||||
depends_on:
|
|
||||||
- gitea-db
|
|
||||||
|
|
||||||
gitea-db:
|
|
||||||
image: postgres:15
|
|
||||||
container_name: gitea-db
|
|
||||||
restart: unless-stopped
|
|
||||||
env_file:
|
|
||||||
- /srv/gitea/env/gitea.env
|
|
||||||
volumes:
|
|
||||||
- /srv/gitea/postgres:/var/lib/postgresql/data
|
|
||||||
Loading…
Reference in New Issue
Block a user