deploy syncthing private files using homeage

closes #18
This commit is contained in:
Pim Kunis 2023-10-16 11:12:30 +02:00
parent dca7ffddde
commit bbc6b95b3a
4 changed files with 12 additions and 0 deletions

View file

@ -58,5 +58,15 @@
source = ../secrets/sue_azure_rsa.age;
symlinks = [ "${config.home.homeDirectory}/.ssh/sue_azure_rsa" ];
};
file."syncthing-key.pem" = {
source = ../secrets/syncthing-key.pem.age;
symlinks = [ "${config.xdg.configHome}/syncthing/key.pem" ];
};
file."syncthing-cert.pem" = {
source = ../secrets/syncthing-cert.pem.age;
symlinks = [ "${config.xdg.configHome}/syncthing/cert.pem" ];
};
};
}