nixos-laptop/home-manager/syncthing.nix

9 lines
228 B
Nix
Raw Normal View History

2024-10-26 18:24:13 +00:00
{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";
};
}