diff options
-rw-r--r-- | config/build.cfg | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/config/build.cfg b/config/build.cfg index 988f091..7b5f3c7 100644 --- a/config/build.cfg +++ b/config/build.cfg @@ -127,6 +127,7 @@ my $config = { if_($has_plasma, 'task-plasma5', + 'plasma-applet-nm', ), if_($has_xfce, @@ -305,17 +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", - # Don't try to get a hostname by reverse DNS - it will most likely fail - # and set the hostname to linux.local. - "echo 'hostname-mode=dhcp' >> /etc/NetworkManager/NetworkManager.conf", - ), + # 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", + # Don't try to get a hostname by reverse DNS - it will most likely fail + # and set the hostname to linux.local. + "echo 'hostname-mode=dhcp' >> /etc/NetworkManager/NetworkManager.conf", # Fix permissions for copied files. "chown -R $default_user:$default_user /home/$default_user", |