Add syncthing service
This commit is contained in:
parent
ea751c8924
commit
fb0a6fba5e
2 changed files with 15 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
# Services
|
# Services
|
||||||
./btrbk.nix
|
./btrbk.nix
|
||||||
|
./syncthing.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Boot configuration
|
# Boot configuration
|
||||||
|
|
|
||||||
14
hosts/gwiad/syncthing.nix
Normal file
14
hosts/gwiad/syncthing.nix
Normal file
|
|
@ -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;
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue