NixOS/home/modules/syncthing.nix

13 lines
187 B
Nix

{ lib, config, ... }:
let
cfg = config.profile.syncthing;
in
{
config = lib.mkIf cfg.enable {
services.syncthing = {
enable = true;
tray.enable = false;
};
};
}