Set user services using a direct assignment

This commit is contained in:
Manuel Thalmann 2024-05-14 12:47:20 +02:00
parent 66d6880750
commit 7fdac59f45

View file

@ -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 = {