Rework KDE profile package installation

This commit is contained in:
Dylan Taylor 2021-04-28 11:21:24 -04:00
parent 6013e06fb1
commit fd042053be
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import archinstall
packages = "plasma-meta konsole kate dolphin sddm plasma-wayland-session"
packages = "" # Other packages for KDE are installed in the main profile now.
if "nvidia" in _gfx_driver_packages:
packages = packages + " egl-wayland"

View File

@ -39,7 +39,10 @@ if __name__ == 'kde':
# Install dependency profiles
installation.install_profile('xorg')
# Install the application kde from the template under /applications/
# Install the KDE packages
installation.add_additional_packages(__packages__)
# Run KDE application configuration
kde = archinstall.Application(installation, 'kde')
kde.install()