summaryrefslogtreecommitdiff
path: root/deploy.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-01-30 17:20:43 -0800
committerBen Sima <ben@bsima.me>2019-01-30 17:20:43 -0800
commit67ddf074edec7631067c5f634c3e56e0848cd11f (patch)
treec1d309daade3b6bbc507b845dd1c4c23b1ccdfca /deploy.nix
parent6750622c47a90060159544c8c928ef3440a43ec9 (diff)
Build production machine locally
Diffstat (limited to 'deploy.nix')
-rw-r--r--deploy.nix36
1 files changed, 0 insertions, 36 deletions
diff --git a/deploy.nix b/deploy.nix
deleted file mode 100644
index d3a23d9..0000000
--- a/deploy.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-# Nix config for the main biz machine.
-
-{ pkgs
-, config
-, ...,
-}:
-
-{
- imports = [ ./ibb/module.nix ];
- nixpkgs.config.packageOverrides = pkgs: {
- ibb = import ./ibb/default.nix {};
- };
- services = {
-
- ibb.enable = true;
-
- nginx = {
- enable = true;
- recommendedGzipSettings = true;
- recommendedOptimisation = true;
- recommendedProxySettings = true;
- recommendedTlsSettings = true;
- virtualHosts = {
- "ibb.buildmindful.com" = {
- forceSSL = true;
- enableACME = true;
- locations = {
- "/" = {
- proxyPass = "http://localhost:3000";
- };
- };
- };
- };
- };
- };
-}