Rework budgie to use package definition

This commit is contained in:
Dylan Taylor 2021-04-28 11:07:18 -04:00
parent e52fca2d01
commit e9d5cd1a11
1 changed files with 5 additions and 3 deletions

View File

@ -4,6 +4,9 @@ import archinstall
is_top_level_profile = False
# "It is recommended also to install the gnome group, which contains applications required for the standard GNOME experience." - Arch Wiki
__packages__ = ["budgie-desktop", "lightdm", "lightdm-gtk-greeter", "gnome"]
def _prep_function(*args, **kwargs):
"""
Magic function called by the importing installer
@ -27,8 +30,7 @@ if __name__ == 'budgie':
# Install dependency profiles
installation.install_profile('xorg')
# Install the application budgie from the template under /applications/
budgie = archinstall.Application(installation, 'budgie')
budgie.install()
# Install the Budgie packages
installation.add_additional_packages(__packages__)
installation.enable_service('lightdm') # Light Display Manager