From 61e21346a6947327bf5394f6c73499621c494986 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 10 Apr 2020 16:33:00 -0700 Subject: Deploy herocomics.app production server This also includes some drive-by formatting changes and config changes needed to get it up and running. --- default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'default.nix') diff --git a/default.nix b/default.nix index ea20799..33ba285 100644 --- a/default.nix +++ b/default.nix @@ -69,6 +69,23 @@ in rec { networking.domain = "que.run"; }; }; + # Production server for musicmeetscomics.com + Com.MusicMeetsComics.Prod = buildOS { + deps = { + herocomics-server = Com.MusicMeetsComics.Server; + herocomics-client = Com.MusicMeetsComics.Client; + }; + configuration = { + imports = [ + ./Com/Simatime/packages.nix + ./Com/Simatime/users.nix + ./Com/MusicMeetsComics/Service.nix + ./Com/MusicMeetsComics/Prod.nix + ]; + networking.hostName = "prod.herocomics.app"; + networking.domain = "herocomcis.app"; + }; + }; # Haskell targets # Com.InfluencedByBooks.Server = biz.buildGhc Com/InfluencedByBooks/Server.hs; -- cgit v1.2.3