Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/gnome.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-29 08:23:29 +0000
committerGitHub <noreply@github.com>2021-04-29 08:23:29 +0000
commit055b6dd9053d0a9fc95b1ae541ba09f99b93a5b1 (patch)
tree5309cbfed3632e51831267673632678cc6b11e98 /profiles/gnome.py
parent2d02e806f2ae5341752a0ceb532e5c239a164ee7 (diff)
parent455dd24614be1dcad7ef193bde6efaea6d901b59 (diff)
Merge pull request #378 from dylanmtaylor/packages
Desktop Environment Cleanup and Switch to Packages Definitions
Diffstat (limited to 'profiles/gnome.py')
-rw-r--r--profiles/gnome.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/profiles/gnome.py b/profiles/gnome.py
index c75cafee..a480d713 100644
--- a/profiles/gnome.py
+++ b/profiles/gnome.py
@@ -4,6 +4,9 @@ import archinstall
is_top_level_profile = False
+# Note: GDM should be part of the gnome group, but adding it here for clarity
+__packages__ = ["gnome". "gnome-tweaks", "gdm"]
+
def _prep_function(*args, **kwargs):
"""
Magic function called by the importing installer
@@ -28,9 +31,8 @@ if __name__ == 'gnome':
# Install dependency profiles
installation.install_profile('xorg')
- # Install the application gnome from the template under /applications/
- gnome = archinstall.Application(installation, 'gnome')
- gnome.install()
+ # Install the GNOME packages
+ installation.add_additional_packages(__packages__)
installation.enable_service('gdm') # Gnome Display Manager
# We could also start it via xinitrc since we do have Xorg,