System/applications/syncthing.nix

20 lines
436 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;
};
};
};
2021-12-20 13:37:26 -05:00
}