15 lines
416 B
Nix
15 lines
416 B
Nix
{ config, ... }: {
|
|
config = {
|
|
services.syncthing.enable = true;
|
|
|
|
homeage.file."syncthing-key.pem" = {
|
|
source = ../../secrets/syncthing-key.pem.age;
|
|
symlinks = [ "${config.xdg.configHome}/syncthing/key.pem" ];
|
|
};
|
|
|
|
homeage.file."syncthing-cert.pem" = {
|
|
source = ../../secrets/syncthing-cert.pem.age;
|
|
symlinks = [ "${config.xdg.configHome}/syncthing/cert.pem" ];
|
|
};
|
|
};
|
|
}
|