Skip to content

Latest commit

 

History

History
86 lines (57 loc) · 2.93 KB

README.md

File metadata and controls

86 lines (57 loc) · 2.93 KB

nixcloud-webservices

This nixpkgs extension, called nixcloud-webservices, focuses on ease of deployment of web-related technologies.

You should continue to read one of these documentations:

It features the development stack we use at https://nixcloud.io.

Continuous integration at https://hydra.nixcloud.io/project/nixcloud-webservices

Get the source

Alternatively if you want to hack on nixcloud-webservices, you can also Git clone it with:

$ git clone https://github.com/nixcloud/nixcloud-webservices

Note: We no longer support pre-compiled binaries so you have to use the 'Get the source' workflow instead of using 'nix-channel'

CI hydra build

https://headcounter.org/hydra/project/nixcloud-webservices

Importing

Option A: Importing modules in your local system

You import modules into your local system by adding the path to your configuration.nix to the imports list. Like this:

{
  imports = [
    ./hardware-configuration.nix
    /path/to/nixcloud-webservices
  ];
  # ... other options ...
}

Option B: Building a (KVM) VM

If you don't want to clutter your local system you can use a VM:

nix-build '<nixpkgs/nixos>' --arg configuration '{ imports = [ ./modules ./config.nix ]; services.mingetty.autologinUser = "root"; }' -A vm

Note: You have to create config.nix manually, it contains basically the lines we put in /etc/nixos/configuration.nix in previous examples.

Note: This is for advanced users who know how VMs on NixOS work.

License

The license can be found in LICENSE.

For inquiries, please contact:

Thanks

Many thanks to:

Among all who didn't make it into this list! Thanks for helping with writing this!