nixos-laptop/home-manager/syncthing/default.nix
Pim Kunis 07538a39d1 Add my username to trusted nix users
Add attic client
Use BBR as TCP congestion control algorithm
2024-04-29 15:19:17 +02:00

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" ];
};
};
}