diff --git a/hosts/poseidon/default.nix b/hosts/poseidon/default.nix index 2d61d53..7c3bd67 100644 --- a/hosts/poseidon/default.nix +++ b/hosts/poseidon/default.nix @@ -142,10 +142,6 @@ in { exitNode = true; }; - tgv = { - enable = true; - }; - transmission = { enable = true; username = "alarsyo"; diff --git a/services/default.nix b/services/default.nix index 9c4af4f..6ae5973 100644 --- a/services/default.nix +++ b/services/default.nix @@ -20,7 +20,6 @@ ./postgresql.nix ./restic-backup.nix ./tailscale.nix - ./tgv.nix ./transmission.nix ]; } diff --git a/services/tgv.nix b/services/tgv.nix deleted file mode 100644 index 25426c9..0000000 --- a/services/tgv.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ - config, - lib, - ... -}: let - inherit - (lib) - mkEnableOption - mkIf - ; - - cfg = config.my.services.tgv; - my = config.my; -in { - options.my.services.tgv = { - enable = mkEnableOption "TGV redirect"; - }; - - config = mkIf cfg.enable { - services.nginx.virtualHosts = { - "tgv.sexy" = { - forceSSL = true; - enableACME = true; - - locations."/".return = "301 http://www.mlgtraffic.net/"; - }; - }; - }; -}