nixos-configs/home-manager/syncthing.nix

8 lines
228 B
Nix

{config, ...}: {
services.syncthing.enable = true;
sops.secrets = {
"syncthing/key".path = "${config.xdg.configHome}/syncthing/key.pem";
"syncthing/cert".path = "${config.xdg.configHome}/syncthing/cert.pem";
};
}