helm/modules/services/teamviewer.nix

15 lines
265 B
Nix
Raw Normal View History

2020-10-21 12:49:45 -07:00
{ options, config, lib, pkgs, ... }:
with lib;
with lib.my;
let cfg = config.modules.services.teamviewer;
in {
options.modules.services.teamviewer = {
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {
services.teamviewer.enable = true;
};
}