nix-git/modules/syncthing.nix

23 lines
431 B
Nix
Raw Normal View History

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