summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-04-10 16:33:00 -0700
committerBen Sima <ben@bsima.me>2020-04-10 18:23:38 -0700
commit61e21346a6947327bf5394f6c73499621c494986 (patch)
treeeeb9d3525137e09ee482710b651ab2c004c2cee6 /default.nix
parent2263381b305092390984561855856ab725561cf6 (diff)
Deploy herocomics.app production server
This also includes some drive-by formatting changes and config changes needed to get it up and running.
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix17
1 files changed, 17 insertions, 0 deletions
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;