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