about summary refs log tree commit diff
path: root/home/syncthing/default.nix
blob: 4e8e4f35d3c4cf2ce4d9102cdd2d6d8faff44e60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ lib, config, pkgs, ... }:
let cfg = config.my.home.syncthing;
in {
  options.my.home.syncthing = with lib; {
    enable = mkEnableOption "syncthing configuration";
  };

  config.home = {
    services.syncthing = {
      enable = true;
      openDefaultPorts = true;
    };
  };
}