13 lines
187 B
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;
|
|
};
|
|
};
|
|
}
|