Reorganize and refactor project

This commit is contained in:
Pim Kunis 2024-06-09 22:00:47 +02:00
parent ed1e654706
commit afcc583dcf
35 changed files with 130 additions and 300 deletions
modules/home-manager/syncthing

View file

@ -0,0 +1,15 @@
{ config, flake, ... }: {
config = {
services.syncthing.enable = true;
homeage.file."syncthing-key.pem" = {
source = "${flake}/secrets/syncthing-key.pem.age";
symlinks = [ "${config.xdg.configHome}/syncthing/key.pem" ];
};
homeage.file."syncthing-cert.pem" = {
source = "${flake}/secrets/syncthing-cert.pem.age";
symlinks = [ "${config.xdg.configHome}/syncthing/cert.pem" ];
};
};
}