nix-config/users/desktops/common/services.nix
2022-11-29 20:52:40 -03:00

14 lines
372 B
Nix

{ config, pkgs, lib, ... }:
{
services = {
kdeconnect.enable = true;
syncthing = {
enable = true;
tray = {
enable = true;
package = pkgs.writeShellScriptBin "syncthingtray" "exec ${pkgs.syncthingtray}/bin/syncthingtray --wait" // { pname = "syncthingtray"; }; # Override synctray so it waits for a system tray
};
};
};
}