{ config, lib, pkgs, ... }: { systemd.services.bahnhof-name = { enable = true; wantedBy = [ "multi-user.target" ]; serviceConfig.Type = "simple"; path = [ pkgs.bahnhof-name ]; script = '' bahnhofname ''; }; services.nginx.virtualHosts."bahnhof.name" = { enableACME = true; forceSSL = true; locations."/".proxyPass = "http://localhost:2345"; }; }