Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
28 lines
882 B
Markdown
28 lines
882 B
Markdown
# 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.
|