mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-23 05:43:55 -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;
|
||
|
};
|
||
|
}
|