2021-06-13 14:45:20 +02:00
|
|
|
{# Macros #}
|
2021-06-12 17:15:21 +02:00
|
|
|
{% if debian_based %}
|
2021-06-13 14:45:20 +02:00
|
|
|
{% set python_prefix = 'python3' %}
|
|
|
|
{% set lib_suffix = '-common' %}
|
2021-06-12 17:15:21 +02:00
|
|
|
{% else %}
|
2021-06-13 14:45:20 +02:00
|
|
|
{% set python_prefix = 'python' %}
|
|
|
|
{% set lib_suffix = '' %}
|
2021-06-12 17:15:21 +02:00
|
|
|
{% endif %}
|
2021-06-13 14:45:20 +02:00
|
|
|
{# Include essential snippets #}
|
|
|
|
{% include 'snippets/pm_dotfiles_dependencies.j2' %}
|
|
|
|
{% include 'snippets/pm_shell.j2' %}
|
|
|
|
{% include 'snippets/pm_terminal_essentials.j2' %}
|
|
|
|
{% include 'snippets/pm_remote.j2' %}
|
|
|
|
{% include 'snippets/pm_disk_cleanup.j2' %}
|
|
|
|
{% include 'snippets/pm_local_monitoring.j2' %}
|
|
|
|
{% include 'snippets/pm_mpd.j2' %}
|
|
|
|
{% include 'snippets/pm_multimedia_toolbox.j2' %}
|
|
|
|
{% include 'snippets/pm_multimedia_common.j2' %}
|
|
|
|
{% include 'snippets/pm_data_management.j2' %}
|
|
|
|
{# Include rules-determined snippets #}
|
2021-06-21 23:19:46 +02:00
|
|
|
{% if root_access %}
|
|
|
|
{% include 'snippets/pm_system.j2' %}
|
|
|
|
{% endif %}
|
2021-06-18 21:53:42 +02:00
|
|
|
{% if display_server %}
|
2021-06-13 14:45:20 +02:00
|
|
|
{% include 'snippets/pm_desktop_environment.j2' %}
|
|
|
|
{% endif %}
|
|
|
|
{% if termux %}
|
|
|
|
{% include 'snippets/pm_termux.j2' %}
|
2021-06-12 17:15:21 +02:00
|
|
|
{% else %}
|
2021-06-13 14:45:20 +02:00
|
|
|
{% include 'snippets/pm_noandroid.j2' %}
|
|
|
|
{% endif %}
|
|
|
|
{% if software_full %}
|
|
|
|
{% include 'snippets/pm_android_tools.j2' %}
|
|
|
|
{% include 'snippets/pm_multimedia_editors.j2' %}
|
|
|
|
{% include 'snippets/pm_download.j2' %}
|
|
|
|
{% include 'snippets/pm_wine.j2' %}
|
|
|
|
{% include 'snippets/pm_document.j2' %}
|
|
|
|
{% endif %}
|
|
|
|
{# Inclde dev snippets #}
|
|
|
|
{% if dev_stuffs %}
|
|
|
|
{% include 'snippets/pm_dev_common.j2' %}
|
|
|
|
{% for dev_stuff in dev_stuffs %}
|
|
|
|
{% include 'snippets/pm_dev_' + dev_stuff + '.j2' %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{# Include custom snippets #}
|
|
|
|
{% for software_snippet in software_snippets %}
|
|
|
|
{% if software_snippet.startswith('pm_') %}
|
|
|
|
{% include 'snippets/' + software_snippet + '.j2' %}
|
2021-06-12 17:15:21 +02:00
|
|
|
{% endif %}
|
2021-06-13 14:45:20 +02:00
|
|
|
{% endfor %}
|