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 {
|
systemd.user = lib.optionalAttrs cfg.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
services.rclone = {
|
services = {
|
||||||
|
rclone = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "rclone Starter";
|
Description = "rclone Starter";
|
||||||
Documentation = "man:rclone(1)";
|
Documentation = "man:rclone(1)";
|
||||||
|
@ -40,6 +41,7 @@
|
||||||
(lib.getExe script);
|
(lib.getExe script);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
targets.rclone = {
|
targets.rclone = {
|
||||||
Unit = {
|
Unit = {
|
||||||
|
|
Loading…
Reference in a new issue