19 lines
301 B
Nix
19 lines
301 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkIf;
|
|
in
|
|
{
|
|
config = mkIf config.services.syncthing.enable {
|
|
xdg.desktopEntries."Syncthing" = {
|
|
name = "Syncthing";
|
|
icon = "";
|
|
terminal = false;
|
|
exec = "${pkgs.syncthing}/bin/syncthing --browser-only";
|
|
};
|
|
};
|
|
}
|