summaryrefslogtreecommitdiff
path: root/hosts/ahmed
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2024-04-29 08:56:45 +0200
committerLinnnus <[email protected]>2024-04-29 08:56:45 +0200
commit362ed306d4bf42c404516c38e0d40aa22849e39f (patch)
tree7051a22368d71db4f5b574abd974bee2802ee083 /hosts/ahmed
parent6c3c38d9335878d95084cbd9aa4a2d18adb35f28 (diff)
chore: Formatting
Diffstat (limited to 'hosts/ahmed')
-rw-r--r--hosts/ahmed/torrenting/default.nix1
-rw-r--r--hosts/ahmed/torrenting/reverse-proxy.nix3
-rw-r--r--hosts/ahmed/torrenting/wireguard.nix6
3 files changed, 2 insertions, 8 deletions
diff --git a/hosts/ahmed/torrenting/default.nix b/hosts/ahmed/torrenting/default.nix
index 9fc3fb1..efa4403 100644
--- a/hosts/ahmed/torrenting/default.nix
+++ b/hosts/ahmed/torrenting/default.nix
@@ -1,5 +1,4 @@
# This module configures the my torrenting setup. It uses qBittorrent over a VPN.
-
{
pkgs,
options,
diff --git a/hosts/ahmed/torrenting/reverse-proxy.nix b/hosts/ahmed/torrenting/reverse-proxy.nix
index fb141ed..a829e5a 100644
--- a/hosts/ahmed/torrenting/reverse-proxy.nix
+++ b/hosts/ahmed/torrenting/reverse-proxy.nix
@@ -1,6 +1,5 @@
# This module configures a reverse proxy for the various services that are
# exposed to the internet.
-
{
pkgs,
config,
@@ -44,7 +43,7 @@ in {
locations."/" = {
index = "index.html";
- root = pkgs.runCommand "${baseDomain}-portal" { inherit qbDomain jellyfinDomain; } ''
+ root = pkgs.runCommand "${baseDomain}-portal" {inherit qbDomain jellyfinDomain;} ''
mkdir $out
${pkgs.xorg.lndir}/bin/lndir ${./portal} $out
diff --git a/hosts/ahmed/torrenting/wireguard.nix b/hosts/ahmed/torrenting/wireguard.nix
index 22d3f9c..af21848 100644
--- a/hosts/ahmed/torrenting/wireguard.nix
+++ b/hosts/ahmed/torrenting/wireguard.nix
@@ -1,9 +1,5 @@
# This module configures a WireGuard for qBittorrent to use.
-
-{
- config,
- ...
-}: let
+{config, ...}: let
wgInterface = "wg0";
wgPort = 51820;
in {