nixos-configs/home-manager/syncthing/default.nix

16 lines
416 B
Nix
Raw Permalink Normal View History

{ config, ... }: {
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" = {
source = ../../secrets/syncthing-key.pem.age;
symlinks = [ "${config.xdg.configHome}/syncthing/key.pem" ];
2023-10-16 09:21:40 +00:00
};
homeage.file."syncthing-cert.pem" = {
source = ../../secrets/syncthing-cert.pem.age;
symlinks = [ "${config.xdg.configHome}/syncthing/cert.pem" ];
2023-10-16 09:21:40 +00:00
};
2023-10-08 14:57:57 +00:00
};
}