Corteza
Open source low-code platform
Declared in: projects/Corteza/default.nix
Try the service in a VM
- 
    Install Nix
    
- Bash
 - 
  
$ apt install --yes curl git jq nix 
- Bash
 - 
  
$ apt install --yes curl git jq nix 
- Bash
 - 
  
$ pacman --sync --refresh --noconfirm curl git jq nix 
 - 
    Download a configuration file
    
# default.nix { ngipkgs ? import (fetchTarball "https://github.com/ngi-nix/ngipkgs/tarball/main") { }, }: ngipkgs.demo-vm ( let port = 8090; in { services.corteza = { enable = true; inherit port; openFirewall = true; settings.DOMAIN = "localhost:${toString port}"; }; } )
 - 
    Enable binary substituters
    
- Bash
 - 
  
$ export NIX_CONFIG='substituters = https://cache.nixos.org/ https://ngi.cachix.org/ trusted-public-keys = cache.nixos.org-1:6nchdd59x431o0gwypbmraurkbj16zpmqfgspcdshjy= ngi.cachix.org-1:n+cal72roc3qqulxihpv+tw5t42whxmmhpragkrsrow=' 
 - 
    Build and run a virtual machine
    
- Bash
 - 
  
$ nix-build ./default.nix && ./result 
- Bash
 - 
  
$ nix-build ./default.nix && ./result 
- Bash
 - 
  
$ rev=$(nix-instantiate --eval --attr sources.nixpkgs.rev https://github.com/ngi-nix/ngipkgs/archive/master.tar.gz | jq --raw-output)$ nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/$rev.tar.gz --packages nix --run "nix-build ./default.nix && ./result" 
- Bash
 - 
  
$ nix-build ./default.nix && ./result 
 - Missing Contribute usage instructions.
 
Options
services.corteza
- 
  
  
IP for the HTTP server.
- Type:
 string- Default:
 "0.0.0.0"- Declared in:
 - nixos/modules/services/development/corteza.nix
 
 - 
  
  
Whether to enable Corteza, a low-code platform.
- Type:
 boolean- Default:
 false- Declared in:
 - nixos/modules/services/development/corteza.nix
 
 - 
  
  
The group to run Corteza under.
- Type:
 string- Default:
 "corteza"- Declared in:
 - nixos/modules/services/development/corteza.nix
 
 - 
  
  
Whether to open ports in the firewall.
- Type:
 boolean- Default:
 false- Declared in:
 - nixos/modules/services/development/corteza.nix
 
 - 
  
  
The corteza package to use.
- Type:
 package- Default:
 pkgs.corteza- Declared in:
 - nixos/modules/services/development/corteza.nix
 - Notes:
 - Missing update script An update script is required for automatically tracking the latest release.
 
 - 
  
  
Port for the HTTP server.
- Type:
 16 bit unsigned integer; between 0 and 65535 (both inclusive)- Default:
 80- Declared in:
 - nixos/modules/services/development/corteza.nix
 
 - 
  
  
Configuration for Corteza, will be passed as environment variables. See https://docs.cortezaproject.org/corteza-docs/2024.9/devops-guide/references/configuration/server.html.
- Type:
 open submodule of attribute set of string- Default:
 { }- Declared in:
 - nixos/modules/services/development/corteza.nix
 
 - 
  
  
Whether to enable webapps.
- Type:
 boolean- Default:
 true- Declared in:
 - nixos/modules/services/development/corteza.nix
 
 - 
  
  
The user to run Corteza under.
- Type:
 string- Default:
 "corteza"- Declared in:
 - nixos/modules/services/development/corteza.nix
 
 
services.corteza.address
services.corteza.enable
services.corteza.group
services.corteza.openFirewall
services.corteza.package
services.corteza.port
services.corteza.settings
services.corteza.settings.HTTP_WEBAPP_ENABLED
services.corteza.user
Examples
This project is funded by NLnet through these subgrants:
- Review
 - CortezaDiscovery
 - CortezaFederationPrivacy
 - CortezaActivityPub
 
Related links: