/nixops

NixOps, the NixOS-based cloud deployment tool

Primary LanguagePythonGNU Lesser General Public License v3.0LGPL-3.0

NixOps

NixOps (formerly known as Charon) is a tool for deploying NixOS machines in a network or cloud.

Developing

To start developing on nixops, you can run:

  $ ./dev-shell

Building from source

The command to build NixOps depends on your platform:

  • nix-build release.nix -A build.x86_64-linux on 64 bit linux.
  • nix-build release.nix -A build.i686-linux on 32 bit linux.
  • nix-build release.nix -A build.x86_64-darwin on OSX.

Similarly, using NixOps from another project (for instance a nix-shell) can be done using:

stdenv.mkDerivation {
  name = "my-nixops-env";
  buildInputs = [
    (import /path/to/nixops/release.nix {}).build.x86_64-linux
  ];
}