aboutsummaryrefslogtreecommitdiff
path: root/nixos/machine/spt-omnia.nix
blob: 4cb80c4def9c0218367182d3ebb0fb725b3de55e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ config, lib, pkgs, ... }:

with lib;

{

  config = {
    cynerd = {
      openvpn.oldpersonal = true;
    };

    services.syncthing = {
      enable = true;
      #user = mkDefault "cynerd";
      #group = mkDefault "cynerd";
      openDefaultPorts = true;

      overrideDevices = false;
      overrideFolders = false;

      dataDir = "/data";
      configDir = "/srv/syncthing";
    };

  };

}