summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/build.cfg17
1 files changed, 10 insertions, 7 deletions
diff --git a/config/build.cfg b/config/build.cfg
index a3e1e1f..3278976 100644
--- a/config/build.cfg
+++ b/config/build.cfg
@@ -131,6 +131,7 @@ my $config = {
if_($has_xfce,
'task-xfce',
+ 'networkmanager-applet',
),
],
exclude_packages => [
@@ -281,13 +282,6 @@ my $config = {
# Fix permissions to enable GDM to rerun if the user logs out.
"chown -R gdm:gdm /var/lib/gdm",
- # Switch to NetworkManager.
- "systemctl -q disable network",
- "systemctl -q disable network-up",
- "systemctl -q enable NetworkManager.service",
- "systemctl -q enable NetworkManager-wait-online.service",
- "echo 'AUTOSTART=FALSE' > /home/live/.net_applet",
-
# Enable the TopIcons extension
"mkdir -p /etc/dconf/db/local.d",
"echo -e \"[org/gnome/shell]\nenabled-extensions=['TopIcons\@phocean.net']\" > /etc/dconf/db/local.d/00-extensions",
@@ -312,6 +306,15 @@ my $config = {
"chmod 750 /home/$default_user/Desktop/draklive-install.desktop",
),
+ if_($has_gnome || $has_xfce,
+ # Switch to NetworkManager.
+ "systemctl -q disable network",
+ "systemctl -q disable network-up",
+ "systemctl -q enable NetworkManager.service",
+ "systemctl -q enable NetworkManager-wait-online.service",
+ "echo 'AUTOSTART=FALSE' > /home/live/.net_applet",
+ ),
+
# Fix permissions for copied files.
"chown -R $default_user.$default_user /home/$default_user",