# 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"; }; }; }; }; }; }; }