mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 16:31:54 -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;
|
|
};
|
|
}
|