This commit is contained in:
Hadi 2024-06-23 23:43:47 +02:00
parent d5aa5b1a49
commit 1d298c60d5
3 changed files with 20 additions and 12 deletions

View File

@ -36,13 +36,18 @@
## Server ## Server
| Name | The server configuration is used by a home server running NixOS.
|------------| The configurations files can be found in the `hosts/server` directory.
| Nextcloud | I mainly use it for self hosting services like Nextcloud, Vaultwarden, ... and for hosting websites.
| Tailscale | I exposed some services to the internet using a reverse proxy (Nginx) and cloudflare dns. (Also configured cloudflare-dyndns)
| AdGuard Home |
| Cloudflare DynDNS | ### Apps
| Ntfy.sh |
| Vaultwarden | - Nextcloud
| Nginx | - Vaultwarden
| Unifi Controler | - Adguard Home
- Unifi Controler
- Uptime Kuma
- "Jackflix"
- Jellyfin, Transmission, *arr
- ...

View File

@ -2,7 +2,7 @@
# Change your router primary DNS server to {this server IP} to make it network wide. # Change your router primary DNS server to {this server IP} to make it network wide.
{ {
services.adguardhome = { services.adguardhome = {
enable = false; enable = true;
host = "0.0.0.0"; host = "0.0.0.0";
port = 3000; port = 3000;
allowDHCP = true; allowDHCP = true;

View File

@ -1,3 +1,5 @@
# I'm using the transmission-openvpn docker image to be sure that my torrent traffic is going through a VPN.
# Only to download legal stuff of course.
{ {
environment.etc."/etc/transmission.sh" = { environment.etc."/etc/transmission.sh" = {
text = '' text = ''
@ -15,7 +17,8 @@
haugene/transmission-openvpn haugene/transmission-openvpn
''; '';
}; };
# launch the container at boot # TODO: launch the container at boot
networking.firewall.allowedTCPPorts = [ 9091 ]; networking.firewall.allowedTCPPorts = [ 9091 ];
networking.firewall.allowedUDPPorts = [ 9091 ]; networking.firewall.allowedUDPPorts = [ 9091 ];
} }