2023-11-28 15:24:57 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
# Sync files between devices
|
2024-12-10 09:39:52 +01:00
|
|
|
#
|
|
|
|
# Web interface: http://127.0.0.1:8384/
|
2023-11-28 15:24:57 +01:00
|
|
|
|
2024-12-10 09:39:52 +01:00
|
|
|
# Alternative: GNOME shell extension
|
|
|
|
# Alternative: System service
|
2023-11-28 15:24:57 +01:00
|
|
|
# services = {
|
|
|
|
# syncthing = {
|
|
|
|
# enable = true;
|
|
|
|
# user = "yoda";
|
|
|
|
# };
|
|
|
|
# };
|
|
|
|
|
2024-12-10 09:39:52 +01:00
|
|
|
# We run Syncthing as user service.
|
2024-01-01 17:06:31 +01:00
|
|
|
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
2024-12-10 09:39:52 +01:00
|
|
|
services.syncthing = {
|
|
|
|
enable = true;
|
2024-01-01 17:06:31 +01:00
|
|
|
};
|
|
|
|
};
|
2023-11-28 15:24:57 +01:00
|
|
|
}
|