System/home-manager/linux/services/syncthing.nix

16 lines
315 B
Nix
Raw Normal View History

2022-07-02 21:32:06 -04:00
{ config, lib, pkgs, inputs, ... }:
let
stray = inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}".syncthingtray;
in
2022-06-23 02:57:41 -04:00
{
config = lib.mkIf config.nathan.services.syncthing {
services.syncthing = {
enable = true;
tray = {
enable = true;
2022-07-02 21:32:06 -04:00
package = stray;
2022-06-23 02:57:41 -04:00
};
};
};
}