Fixed mirrorlist and desktop icon

main
Michal 2 years ago
parent e810f64d9f
commit 2dbfaf4f05
No known key found for this signature in database
GPG Key ID: A6A1A4DCB22279B9

@ -6,7 +6,7 @@ glib-compile-schemas /usr/share/glib-2.0/schemas
# User setup
useradd -mG wheel crystal
usermod -c "Password: \"crystal\"" crystal
usermod -c "Password // \"crystal\"" crystal
usermod -p $(echo "crystal" | openssl passwd -6 -stdin) crystal
usermod -p $(echo "crystal" | openssl passwd -6 -stdin) root
chsh -s /usr/bin/zsh crystal
@ -16,12 +16,14 @@ flatpak install -y --noninteractive /usr/share/jade-gui/jade-gui.flatpak
# Desktop icon for Jade's GUI
mkdir -p /home/crystal/Desktop
cp /usr/share/applications/Jade.desktop /home/crystal/Desktop/Install.desktop
cp \
/var/lib/flatpak/exports/share/applications/al.getcryst.jadegui.desktop \
/home/crystal/Desktop/Install.desktop
chown -R crystal:crystal /home/crystal/
# Services
systemctl enable NetworkManager
systemctl enable reflector
systemctl enable mirrorlist
systemctl enable gdm
# Hostname and Locale

@ -0,0 +1,11 @@
[Unit]
Description=Generates Base Crystal ISO Mirrorlist
Requires=network-online.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/bash -c "reflector > /etc/pacman.d/mirrorlist"
[Install]
WantedBy=multi-user.target
Loading…
Cancel
Save