8 lines
228 B
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";
|
|
};
|
|
}
|