From 3ed79dbbfc136709882392ba320cbd02c6d8941a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Wed, 5 Jan 2022 22:20:57 +0100 Subject: [PATCH] feat(zaatar): rip bvg --- systems/zaatar/bvg.nix | 57 -------------------------------- systems/zaatar/configuration.nix | 1 - 2 files changed, 58 deletions(-) delete mode 100644 systems/zaatar/bvg.nix diff --git a/systems/zaatar/bvg.nix b/systems/zaatar/bvg.nix deleted file mode 100644 index 02ccd40..0000000 --- a/systems/zaatar/bvg.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ pkgs, lib, ... }: -let - inherit (import ) serveHtml; - stations = [ - 900068204 # A/M - 900068302 # KAS - 900068203 # B-P - ]; - fahrplan = pkgs.writeText "fahrplan.html" '' - - Fahrplan - - - -
- ${lib.concatMapStrings (station: '' - - '') stations} -
- - ''; -in -{ - services.nginx = { - enable = true; - recommendedGzipSettings = true; - recommendedOptimisation = true; - recommendedProxySettings = true; - recommendedTlsSettings = true; - }; - - services.nginx.virtualHosts."bvg.kmein.r" = { - locations."/".extraConfig = serveHtml fahrplan pkgs; - }; -} diff --git a/systems/zaatar/configuration.nix b/systems/zaatar/configuration.nix index c22c4b5..ede6a57 100644 --- a/systems/zaatar/configuration.nix +++ b/systems/zaatar/configuration.nix @@ -4,7 +4,6 @@ let in { imports = [ - ./bvg.nix ./gaslight.nix ./hardware-configuration.nix ./kiosk.nix