re-add syncthing

This commit is contained in:
Fabian Montero 2025-02-07 14:21:59 -06:00 committed by chem
parent 191df3545f
commit 1b10d48137
3 changed files with 22 additions and 0 deletions

View file

@ -15,5 +15,6 @@
./defaultDesktopPack.nix
./mapping.nix
./zed.nix
./syncthing.nix
];
}

View file

@ -0,0 +1,20 @@
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.local.services.syncthing;
in {
options.local.services.syncthing = {
enable = mkEnableOption "syncthing settings";
};
config = mkIf cfg.enable {
services.syncthing = {
enable = true;
tray.enable = true;
};
};
}

View file

@ -39,6 +39,7 @@
firefox.enable = true;
mapping.enable = true;
zed.enable = true;
syncthing.enable = true;
};
gui = {