Files

Webapps

Auto-generate .desktop launcher entries for clan services and custom URLs. Each webapp opens in the configured browser's app mode with an isolated user data directory.

The service discovers endpoints.hosts exports from other clan services in the same inventory and creates a launcher for each one. Additional webapps can be added manually via extraWebapps.

Usage

inventory.instances = {
  webapps = {
    module.input = "clan-community";
    module.name = "webapps";
    roles.default.machines.my-desktop.settings = {
      extraWebapps = [
        { name = "GitHub"; url = "https://github.com"; }
        { name = "Mail"; url = "https://mail.example.com"; icon = "mail"; }
      ];
      ignoredServices = [ "mosquitto" ];
    };
  };
};

Options

Option Type Default Description
extraWebapps list of {name, url, icon?, categories?} [] Manually defined webapp entries
ignoredServices list of string [] Service names excluded from auto-discovery
browser package or null null (ungoogled-chromium) Browser package for app mode
browserArgs list of string [] Extra CLI arguments passed to the browser

Roles

default

Generates .desktop files and launcher scripts for the machine. No running services - purely a desktop integration module.