Enable syncthing in p71

This commit is contained in:
Sridhar Ratnakumar 2021-04-07 13:22:10 -04:00
parent 2a0ab3df15
commit a42e2ef08e
3 changed files with 10 additions and 5 deletions

View file

@ -15,6 +15,7 @@
# System configuration
configurationNix
./modules/passwordstore.nix
./modules/syncthing.nix
./modules/protonmail-bridge.nix
./modules/monitor-brightness.nix

9
modules/syncthing.nix Normal file
View file

@ -0,0 +1,9 @@
{ pkgs, ... }: {
services = {
syncthing = {
enable = true;
user = "srid";
dataDir = "/home/srid";
};
};
}

View file

@ -72,11 +72,6 @@
services = {
openssh.enable = true;
syncthing = {
enable = true;
user = "srid";
dataDir = "/home/srid";
};
};
# Open ports in the firewall.