diff --git a/hosts/kuro/default.nix b/hosts/kuro/default.nix index a66674cd..64ee6a21 100644 --- a/hosts/kuro/default.nix +++ b/hosts/kuro/default.nix @@ -62,6 +62,8 @@ }; services = { ssh.enable = true; + # Needed occasionally to help the parental units with PC problems + # teamviewer.enable = true; }; themes.fluorescence.enable = true; }; diff --git a/modules/services/teamviewer.nix b/modules/services/teamviewer.nix new file mode 100644 index 00000000..c26e7a49 --- /dev/null +++ b/modules/services/teamviewer.nix @@ -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; + }; +}