diff --git a/hosts/gwiad/configuration.nix b/hosts/gwiad/configuration.nix index 934436f..eb60136 100644 --- a/hosts/gwiad/configuration.nix +++ b/hosts/gwiad/configuration.nix @@ -10,6 +10,7 @@ ./hardware-configuration.nix # Services ./btrbk.nix + ./syncthing.nix ]; # Boot configuration diff --git a/hosts/gwiad/syncthing.nix b/hosts/gwiad/syncthing.nix new file mode 100644 index 0000000..cca51b8 --- /dev/null +++ b/hosts/gwiad/syncthing.nix @@ -0,0 +1,14 @@ +{ config, lib, pkgs, ... }: + +{ + services.syncthing = { + enable = true; + user = "jhemono"; + group = "users"; + dataDir = "/home/jhemono/Downloads"; + configDir = "/home/jhemono/.config/syncthing"; + overrideDevices = false; + overrideFolders = false; + openDefaultPorts = true; + }; +}