Home Explore Blog Models CI



nixpkgs

nixos/modules/services/networking/jotta-cli.md
7319e6f20e83699120fe59bb6b507c3527f98c767d46a4460000000300000372
# Jottacloud Command-line Tool {#module-services-jotta-cli}

The [Jottacloud Command-line Tool](https://docs.jottacloud.com/en/articles/1436834-jottacloud-command-line-tool) is a headless [Jottacloud](https://jottacloud.com) client.

## Quick Start {#module-services-jotta-cli-quick-start}

```nix
{ services.jotta-cli.enable = true; }
```

This adds `jotta-cli` to `environment.systemPackages` and starts a user service that runs `jottad` with the default options.

## Example Configuration {#module-services-jotta-cli-example-configuration}

```nix
{
  services.jotta-cli = {
    enable = true;
    options = [ "slow" ];
    package = pkgs.jotta-cli;
  };
}
```

This uses `jotta-cli` and `jottad` from the `pkgs.jotta-cli` package and starts `jottad` in low memory mode.

`jottad` is also added to `environment.systemPackages`, so `jottad --help` can be used to explore options.

Chunks
69f2272e (1st chunk of `nixos/modules/services/networking/jotta-cli.md`)
Title: Jottacloud Command-line Tool
Summary
This document introduces the Jottacloud Command-line Tool (`jotta-cli`), a headless client for Jottacloud. It provides quick start instructions for enabling the tool as a user service by setting `services.jotta-cli.enable = true;`. An example configuration demonstrates how to customize options, such as running `jottad` in 'low memory' mode, and specify a particular package for the client. The `jottad` command is also added to system packages, allowing users to explore available options.