System/applications/syncthing.nix

15 lines
324 B
Nix
Raw Normal View History

2021-12-20 13:37:26 -05:00
{ config, pkgs, unstable, ... }:
{
# Enable synthing service and tray
services.syncthing = {
enable = true;
user = "nathan";
configDir = "/home/nathan/.config/syncthing";
};
# Install synthing and syncthing-tray
environment.systemPackages = with pkgs; [
syncthing
unstable.syncthingtray
];
}