add syncthing

This commit is contained in:
Fabian Montero 2025-02-07 14:21:59 -06:00
parent 95930bc83e
commit d26ff604e6
Signed by: fabian
GPG key ID: 1FFAC35E1798174F
3 changed files with 22 additions and 0 deletions

View file

@ -16,5 +16,6 @@
./gpg.nix
./defaultDesktopPack.nix
./accounts.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

@ -33,6 +33,7 @@
enable = true;
defaultKey = "7AA277E604A4173916BBB4E91FFAC35E1798174F";
};
syncthing.enable = true;
};
apps = {