1
1
Fork 0

imperium: syncthing system service

This commit is contained in:
Tim Van Baak 2023-12-19 20:06:54 -08:00
parent 532e7a5c6b
commit 49d864839a
1 changed files with 11 additions and 1 deletions

View File

@ -54,7 +54,6 @@
firefox
libreoffice
mpv
syncthing
unzip
];
@ -62,6 +61,17 @@
enable = false;
};
# tvb monopolizes the system syncthing for now. User services are harder to get working
# and nobody else uses imperium right now. In the future, rewriting the syncthing module
# to allow multiple instances is probably the right move.
services.syncthing = {
enable = true;
dataDir = "/home/tvb";
openDefaultPorts = true;
user = "tvb";
group = "tvb";
};
# This value governs how some stateful data, like databases, are handled
# across different versions of NixOS. This should not be changed to a new
# release unless the sysadmin has determined that no services would be