imperium: syncthing system service
This commit is contained in:
parent
532e7a5c6b
commit
49d864839a
|
@ -54,7 +54,6 @@
|
||||||
firefox
|
firefox
|
||||||
libreoffice
|
libreoffice
|
||||||
mpv
|
mpv
|
||||||
syncthing
|
|
||||||
unzip
|
unzip
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -62,6 +61,17 @@
|
||||||
enable = false;
|
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
|
# This value governs how some stateful data, like databases, are handled
|
||||||
# across different versions of NixOS. This should not be changed to a new
|
# across different versions of NixOS. This should not be changed to a new
|
||||||
# release unless the sysadmin has determined that no services would be
|
# release unless the sysadmin has determined that no services would be
|
||||||
|
|
Loading…
Reference in New Issue