{ lib, pkgs, inputs, namespace, system, target, format, virtual, systems, config, ... }: with lib; with lib.${namespace}; let cfg = config.${namespace}.programs.prismlauncher; impermanence = config.${namespace}.impermanence; in { options.${namespace}.programs.prismlauncher = with types; { enable = mkBoolOpt false "Enable prismlauncher"; }; config = mkIf cfg.enable { home.packages = with pkgs; [prismlauncher]; home.persistence = mkIf impermanence.enable { "${impermanence.persistentStorage}".directories = [ { directory = ".local/share/PrismLauncher"; method = "symlink"; } ]; }; }; }