imperium: syncthing system service
This commit is contained in:
parent
532e7a5c6b
commit
49d864839a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user