From 362ed306d4bf42c404516c38e0d40aa22849e39f Mon Sep 17 00:00:00 2001 From: Linnnus Date: Mon, 29 Apr 2024 08:56:45 +0200 Subject: chore: Formatting --- hosts/ahmed/torrenting/default.nix | 1 - hosts/ahmed/torrenting/reverse-proxy.nix | 3 +-- hosts/ahmed/torrenting/wireguard.nix | 6 +----- 3 files changed, 2 insertions(+), 8 deletions(-) (limited to 'hosts') 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 { -- cgit v1.2.3