2024-06-09 20:00:47 +00:00
|
|
|
{ config, flake, ... }: {
|
2023-10-08 14:57:57 +00:00
|
|
|
config = {
|
|
|
|
services.syncthing.enable = true;
|
2023-10-16 09:21:40 +00:00
|
|
|
|
|
|
|
homeage.file."syncthing-key.pem" = {
|
2024-06-09 20:00:47 +00:00
|
|
|
source = "${flake}/secrets/syncthing-key.pem.age";
|
2023-11-10 10:33:41 +00:00
|
|
|
symlinks = [ "${config.xdg.configHome}/syncthing/key.pem" ];
|
2023-10-16 09:21:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
homeage.file."syncthing-cert.pem" = {
|
2024-06-09 20:00:47 +00:00
|
|
|
source = "${flake}/secrets/syncthing-cert.pem.age";
|
2023-11-10 10:33:41 +00:00
|
|
|
symlinks = [ "${config.xdg.configHome}/syncthing/cert.pem" ];
|
2023-10-16 09:21:40 +00:00
|
|
|
};
|
2023-10-08 14:57:57 +00:00
|
|
|
};
|
|
|
|
}
|