mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 11:13:54 -05:00
16 lines
267 B
Nix
16 lines
267 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
options = {
|
|
alyraffauf.services.syncthing.enable =
|
|
lib.mkEnableOption "Enables syncthing as user.";
|
|
};
|
|
|
|
config = lib.mkIf config.alyraffauf.services.syncthing.enable {
|
|
services.syncthing.enable = true;
|
|
};
|
|
}
|