Home Explore Blog CI



nixpkgs

nixos/modules/services/networking/jotta-cli.md
6aecd836a0c110dd11c8c7ddc5a6c865912f1caa07135ab30000000300000366
# 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
2b132d45 (1st chunk of `nixos/modules/services/networking/jotta-cli.md`)
Title: Jottacloud Command-line Tool: Introduction, Quick Start, and Configuration
Summary
This section introduces the Jottacloud Command-line Tool, a headless client for Jottacloud. It provides a quick start example to enable the service, adding `jotta-cli` to system packages and starting the `jottad` user service. It also demonstrates a configuration example that uses a specific package version and starts `jottad` in low memory mode using the 'slow' option. The `jottad` command is also added to system packages for easy access.