1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00

syncthing: allow enabling tray independently

This commit is contained in:
Robert Helgesson 2018-01-30 20:15:31 +01:00 committed by Nikita Uvarov
parent 9de2549dfb
commit 6fc0fd315c
No known key found for this signature in database
GPG key ID: F7A5FB3A7C10EF96

View file

@ -23,8 +23,8 @@ with lib;
};
};
config = mkIf config.services.syncthing.enable (mkMerge [
{
config = mkMerge [
(mkIf config.services.syncthing.enable {
systemd.user.services = {
syncthing = {
Unit = {
@ -45,7 +45,8 @@ with lib;
};
};
};
}
})
(mkIf config.services.syncthing.tray {
systemd.user.services = {
qsyncthingtray = {
@ -65,5 +66,5 @@ with lib;
};
};
})
]);
];
}