Nix & NixOS Deployment

Using Nix Flakes

OpenClaw provides a flake for reproducible deployments.

{
  inputs.openclaw.url = "github:openclaw/openclaw";
  # ...
  outputs = { self, nixpkgs, openclaw }: {
    nixosConfigurations.myHost = nixpkgs.lib.nixosSystem {
      modules = [ openclaw.nixosModules.default ];
    };
  };
}

Standalone Nix Shell

nix shell github:openclaw/openclaw