helm/modules/services/teamviewer.nix
2020-10-21 15:49:45 -04:00

15 lines
265 B
Nix

{ 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;
};
}