{ config, lib, pkgs, inputs, ... }: with lib; let cfg = config.athenix.sw.tablet-kiosk; in { options.athenix.sw.tablet-kiosk = mkOption { type = lib.types.submodule { options = { enable = mkOption { type = lib.types.bool; default = false; description = '' Enable tablet kiosk mode with touch-optimized interface. Includes: - Phosh mobile desktop environment - Chromium in fullscreen kiosk mode - On-screen keyboard (Squeekboard) - Auto-login and auto-start browser - Touch gesture support - Optimized for Surface Pro tablets Recommended for: Surface tablets, touchscreen kiosks, interactive displays ''; example = true; }; kioskUrl = mkOption { type = lib.types.str; default = "https://ha.factory.uga.edu"; description = '' URL to display in the kiosk browser on startup. The browser will automatically navigate to this URL in fullscreen mode. ''; example = "https://dashboard.example.com"; }; }; }; default = { }; description = "Tablet kiosk configuration (Phosh, touch interface)."; }; config = mkIf cfg.enable (mkMerge [ (import ./programs.nix { inherit config lib pkgs inputs ; }) (import ./services.nix { inherit config lib pkgs inputs ; }) (import ./gsettings.nix { inherit config lib pkgs inputs ; }) ]); }