More tweaks

- Added a couple of convenience packages
- Updated favorites
- Made it so installer icon is visible in live environment
This commit is contained in:
Skip Grube 2023-09-01 15:26:20 -04:00
parent 85ad2293cb
commit 74baccd14c
3 changed files with 25 additions and 5 deletions

View File

@ -4,18 +4,18 @@
# Need DNS available, so we'll hack it up real quick:
echo "nameserver 1.1.1.1" > /etc/resolv.conf
# switch default kernel
# switch default kernel package to the -lt variant:
echo -e "DEFAULTKERNEL=kernel-lt-core\nUPDATEDEFAULT=yes" > /etc/sysconfig/kernel
#sed -i 's/DEFAULTKERNEL=kernel/DEFAULTKERNEL=kernel-lt/g' /etc/sysconfig/kernel
# Enable crb and extras by default
dnf config-manager --enable crb
dnf config-manager --enable extras
dnf config-manager --enable elrepo-kernel
# Enable dkms and nvidia repos:
systemctl enable dkms
echo "nameserver 1.1.1.1" > /etc/resolv.conf
curl -v ifconfig.co
curl -o /etc/yum.repos.d/nvidia.repo https://developer.download.nvidia.com/compute/cuda/repos/rhel9/x86_64/cuda-rhel9.repo
cat > /etc/sysctl.d/80-i915-fix.conf <<EOF
@ -30,8 +30,23 @@ curl -o /etc/flatpak/remotes.d/flathub.flatpakrepo https://dl.flathub.org/repo/
# Install Google Chrome:
dnf -y install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
# Initialize flathub + dnf metadata (attempt to make Software app faster first-boot):
flatpak remote-ls &> /dev/null
flatpak update
dnf -y makecache
# Enable dkms service:
systemctl enable dkms
# Visible char. marks for sudo:
echo "Defaults pwfeedback" > /etc/sudoers.d/50_feedback
# Make Anaconda install-to-disk icon visible in live environment:
sed -i 's/NoDisplay=true/#NoDisplay=true/' /usr/share/applications/anaconda.desktop
sed -i 's/NoDisplay=true/#NoDisplay=true/' /usr/share/applications/liveinst.desktop
# Inside-the-ISO postinstall script
# Anything put in /usr/shar/anaconda/post-scripts/*.ks will be run as a %post

View File

@ -96,9 +96,14 @@ gstreamer1-plugins-ugly
ffmpeg
vlc
vlc-extras
pavucontrol
# Customization:
grub-customizer
gnome-tweaks
dconf-editor
gnome-extensions-app
memtest86+
syslinux

View File

@ -342,7 +342,7 @@ if [ -f /usr/share/applications/liveinst.desktop ]; then
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
[org.gnome.shell]
favorite-apps=['firefox.desktop', 'evolution.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'org.gnome.Nautilus.desktop', 'anaconda.desktop']
favorite-apps=['firefox.desktop', 'evolution.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop', 'vlc.desktop', 'anaconda.desktop']
FOE
# Make the welcome screen show up