System/applications/syncthing.nix

21 lines
478 B
Nix
Raw Normal View History

2021-12-20 13:37:26 -05:00
{ config, pkgs, unstable, ... }:
{
# Install synthing and syncthing-tray
environment.systemPackages = with pkgs; [
syncthing
unstable.syncthingtray
];
2022-04-19 18:19:28 -04:00
# Home manager configuration
home-manager.users.nathan = {
# Enable the service for both syncthing and the tray
services.syncthing = {
enable = true;
tray = {
enable = true;
package = unstable.syncthingtray;
2022-04-22 20:56:29 -04:00
command = "syncthingtray --wait";
2022-04-19 18:19:28 -04:00
};
};
};
2021-12-20 13:37:26 -05:00
}