mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
16 lines
320 B
Nix
16 lines
320 B
Nix
|
{ config, lib, pkgs, user, ... }:
|
||
|
{
|
||
|
environment.systemPackages = with pkgs; [ syncthing ];
|
||
|
services.syncthing = {
|
||
|
enable = true;
|
||
|
user = "${user}";
|
||
|
configDir = "/home/${user}/.config/syncthing";
|
||
|
overrideDevices = true;
|
||
|
overrideFolders = true;
|
||
|
devices = {
|
||
|
};
|
||
|
folders = {
|
||
|
};
|
||
|
};
|
||
|
}
|