syncthing: allow enabling tray independently
This commit is contained in:
parent
9de2549dfb
commit
6fc0fd315c
|
@ -23,8 +23,8 @@ with lib;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf config.services.syncthing.enable (mkMerge [
|
config = mkMerge [
|
||||||
{
|
(mkIf config.services.syncthing.enable {
|
||||||
systemd.user.services = {
|
systemd.user.services = {
|
||||||
syncthing = {
|
syncthing = {
|
||||||
Unit = {
|
Unit = {
|
||||||
|
@ -45,7 +45,8 @@ with lib;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
||||||
(mkIf config.services.syncthing.tray {
|
(mkIf config.services.syncthing.tray {
|
||||||
systemd.user.services = {
|
systemd.user.services = {
|
||||||
qsyncthingtray = {
|
qsyncthingtray = {
|
||||||
|
@ -65,5 +66,5 @@ with lib;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
]);
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue