Set user services using a direct assignment
This commit is contained in:
parent
66d6880750
commit
7fdac59f45
1 changed files with 23 additions and 21 deletions
|
@ -14,7 +14,8 @@
|
|||
systemd.user = lib.optionalAttrs cfg.enable {
|
||||
enable = true;
|
||||
|
||||
services.rclone = {
|
||||
services = {
|
||||
rclone = {
|
||||
Unit = {
|
||||
Description = "rclone Starter";
|
||||
Documentation = "man:rclone(1)";
|
||||
|
@ -40,6 +41,7 @@
|
|||
(lib.getExe script);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
targets.rclone = {
|
||||
Unit = {
|
||||
|
|
Loading…
Reference in a new issue