{ lib, config, pkgs, ... }: let inherit (lib) mkIf mkOption types; in { options.smayzy.prism.enable = mkOption { type = types.bool; default = false; description = "prismlauncher"; }; config = mkIf config.smayzy.prism.enable { environment.systemPackages = with pkgs; [ prismlauncher ]; }; }