mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-27 05:09:18 -05:00
12 lines
246 B
Nix
12 lines
246 B
Nix
|
{ pkgs, lib, config, ... }: {
|
||
|
|
||
|
options = {
|
||
|
userServices.syncthing.enable =
|
||
|
lib.mkEnableOption "Enables syncthing as user.";
|
||
|
};
|
||
|
|
||
|
config = lib.mkIf config.userServices.syncthing.enable {
|
||
|
services.syncthing.enable = true;
|
||
|
};
|
||
|
}
|