Skip to content

Instantly share code, notes, and snippets.

@BigAl
Last active August 5, 2021 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BigAl/184f0e46ed50da9e29d7d76e454db291 to your computer and use it in GitHub Desktop.
Save BigAl/184f0e46ed50da9e29d7d76e454db291 to your computer and use it in GitHub Desktop.
#!/bin/sh
# VirtualBox
pacman -Sy virtualbox-guest-utils
systemctl enable
# Network setup
pacman -Sy dhcpcd
systemctl enable dhcpcd
systemctl enable systemd-resolved.service
systemctl enable systemd-networkd.service
cat << EOF > /etc/systemd/network/20-ethernet.network
[Match]
Name=en*
[Network]
DHCP=yes
IPv6PrivacyExtensions=yesß
[DHCPv4]
RouteMetric=100
UseDomains=true
[IPv6AcceptRA]
RouteMetric=100
UseDomains=yes
EOF
## Deepin Desktop
#deepin-kwin https://github.com/linuxdeepin/dde-file-manager/issues/402
pacman -S xorg xorg-server deepin deepin-extra deepin-kwin --noconfrim
sed -i 's/^#greeter-session=.*/greeter-session=lightdm-deepin-greeter/' /etc/lightdm/lightdm.conf
systemctl enable lightdm.service
# Note: A valid home directory must exist for a user other than root for the greeter to work.
# Need to add a user
pacman -S zsh firefox chromium git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment