Add services/teamviewer module

This commit is contained in:
Henrik Lissner 2020-10-21 15:49:45 -04:00
parent 3da2c0c62e
commit 2736c461a1
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 16 additions and 0 deletions

View file

@ -62,6 +62,8 @@
}; };
services = { services = {
ssh.enable = true; ssh.enable = true;
# Needed occasionally to help the parental units with PC problems
# teamviewer.enable = true;
}; };
themes.fluorescence.enable = true; themes.fluorescence.enable = true;
}; };

View file

@ -0,0 +1,14 @@
{ 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;
};
}