diff options
Diffstat (limited to 'chaski')
-rw-r--r-- | chaski/configuration.nix | 1 | ||||
-rw-r--r-- | chaski/services/22f3.nix | 31 |
2 files changed, 0 insertions, 32 deletions
diff --git a/chaski/configuration.nix b/chaski/configuration.nix index f7252c4..2ecfe4c 100644 --- a/chaski/configuration.nix +++ b/chaski/configuration.nix @@ -10,7 +10,6 @@ ./hardware-configuration.nix ./services/uplcg.nix ./services/tracktrain.nix - ./services/22f3.nix ]; networking.firewall.allowedTCPPorts = [ 80 443 ]; diff --git a/chaski/services/22f3.nix b/chaski/services/22f3.nix deleted file mode 100644 index 877966c..0000000 --- a/chaski/services/22f3.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ config, lib, pkgs, inputs, ... }: - -let - roomplans = pkgs.stdenv.mkDerivation { - name = "22f3-roomplans"; - src = inputs.freiraum; - buildInputs = with pkgs; [ poppler_utils inkscape gauche ]; - buildPhase = '' - cp $src/* . - gosh ./generate.scm - ''; - installPhase = '' - mkdir -p $out; - cp out/combined.pdf $out/raumplan.pdf - cp svg/* $out - ''; - }; -in - -{ - services.nginx.virtualHosts."22f3.stuebinm.eu" = { - enableACME = true; - forceSSL = true; - locations."/" = { - root = roomplans.outPath; - extraConfig = '' - autoindex on; - ''; - }; - }; -} |