nixos/jotta-cli: move to services.jotta-cli

This commit is contained in:
Even Brenden 2024-05-05 19:25:40 +02:00
parent 390e4745e7
commit 9fa89d0e2c
4 changed files with 6 additions and 6 deletions

View File

@ -133,7 +133,7 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
- [mautrix-meta](https://github.com/mautrix/meta), a Matrix <-> Facebook and Matrix <-> Instagram hybrid puppeting/relaybot bridge. Available as services.mautrix-meta
- [Jottacloud Command-line Tool](https://docs.jottacloud.com/en/articles/1436834-jottacloud-command-line-tool), a CLI for the [Jottacloud](https://jottacloud.com/) cloud storage provider. Available as [user.services.jotta-cli](#opt-user.services.jotta-cli.enable).
- [Jottacloud Command-line Tool](https://docs.jottacloud.com/en/articles/1436834-jottacloud-command-line-tool), a CLI for the [Jottacloud](https://jottacloud.com/) cloud storage provider. Available as [services.jotta-cli](#opt-services.jotta-cli.enable).
- [transfer-sh](https://github.com/dutchcoders/transfer.sh), a tool that supports easy and fast file sharing from the command-line. Available as [services.transfer-sh](#opt-services.transfer-sh.enable).

View File

@ -6,7 +6,7 @@ The [Jottacloud Command-line Tool](https://docs.jottacloud.com/en/articles/14368
```nix
{
user.services.jotta-cli.enable = true;
services.jotta-cli.enable = true;
}
```
@ -15,7 +15,7 @@ This adds `jotta-cli` to `environment.systemPackages` and starts a user service
## Example Configuration {#module-services-jotta-cli-example-configuration}
```nix
user.services.jotta-cli = {
services.jotta-cli = {
enable = true;
options = [ "slow" ];
package = pkgs.jotta-cli;

View File

@ -2,10 +2,10 @@
with lib;
let cfg = config.user.services.jotta-cli;
let cfg = config.services.jotta-cli;
in {
options = {
user.services.jotta-cli = {
services.jotta-cli = {
enable = mkEnableOption "Jottacloud Command-line Tool";

View File

@ -4,7 +4,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
meta.maintainers = with pkgs.lib.maintainers; [ evenbrenden ];
nodes.machine = { pkgs, ... }: {
user.services.jotta-cli.enable = true;
services.jotta-cli.enable = true;
imports = [ ./common/user-account.nix ];
};