Merge pull request #309324 from evenbrenden/move-jotta-cli

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

Sandro bdd2e6b1 656409d2

Changed files
+6 -6
nixos
doc
manual
release-notes
modules
services
tests
+1 -1
nixos/doc/manual/release-notes/rl-2405.section.md
···
- [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).
+2 -2
nixos/modules/services/networking/jotta-cli.md
···
```nix
{
-
user.services.jotta-cli.enable = true;
+
services.jotta-cli.enable = true;
}
```
···
## Example Configuration {#module-services-jotta-cli-example-configuration}
```nix
-
user.services.jotta-cli = {
+
services.jotta-cli = {
enable = true;
options = [ "slow" ];
package = pkgs.jotta-cli;
+2 -2
nixos/modules/services/networking/jotta-cli.nix
···
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";
+1 -1
nixos/tests/jotta-cli.nix
···
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 ];
};