File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ { nixosPkgs , hostName , enableHttps , ...} @args :
2+ let
3+ system = "x86_64-linux" ;
4+ iosSdkVersion = "10.2" ;
5+ appRoot = import ./src/thunk.nix ;
6+ kpkgs = import "${ appRoot } /dep/kpkgs" { inherit system ; } ;
7+ obelisk = import "${ appRoot } /.obelisk/impl" { inherit system iosSdkVersion ; inherit ( kpkgs ) reflex-platform-func ; } ;
8+ pkgs = obelisk . reflex-platform . nixpkgs ;
9+ obApp = import "${ appRoot } /obApp.nix" { inherit system iosSdkVersion obelisk ; } ;
10+ pactServerModule = import "${ appRoot } /pact-server/service.nix" ;
11+ in { ...} : {
12+ imports = [
13+ ( obelisk . serverModules . mkBaseEc2 args )
14+ # (nixosPkgs.path + /nixos/modules/virtualisation/virtualbox-image.nix)
15+ ( pactServerModule {
16+ pactPort = 7010 ;
17+ nginxPort = 443 ;
18+ pactDataDir = "/var/lib/chainweaver" ;
19+ pactUser = "pact" ;
20+ location = "/pact/" ;
21+ inherit hostName enableHttps obApp pkgs ;
22+ } )
23+ ] ;
24+ }
You can’t perform that action at this time.
0 commit comments