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:
parent
85ad2293cb
commit
74baccd14c
@ -4,18 +4,18 @@
|
|||||||
# Need DNS available, so we'll hack it up real quick:
|
# Need DNS available, so we'll hack it up real quick:
|
||||||
echo "nameserver 1.1.1.1" > /etc/resolv.conf
|
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
|
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
|
# Enable crb and extras by default
|
||||||
dnf config-manager --enable crb
|
dnf config-manager --enable crb
|
||||||
dnf config-manager --enable extras
|
dnf config-manager --enable extras
|
||||||
dnf config-manager --enable elrepo-kernel
|
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
|
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
|
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:
|
# Install Google Chrome:
|
||||||
dnf -y install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
|
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
|
# Inside-the-ISO postinstall script
|
||||||
# Anything put in /usr/shar/anaconda/post-scripts/*.ks will be run as a %post
|
# Anything put in /usr/shar/anaconda/post-scripts/*.ks will be run as a %post
|
||||||
|
@ -96,9 +96,14 @@ gstreamer1-plugins-ugly
|
|||||||
ffmpeg
|
ffmpeg
|
||||||
vlc
|
vlc
|
||||||
vlc-extras
|
vlc-extras
|
||||||
|
pavucontrol
|
||||||
|
|
||||||
|
|
||||||
# Customization:
|
# Customization:
|
||||||
grub-customizer
|
grub-customizer
|
||||||
|
gnome-tweaks
|
||||||
|
dconf-editor
|
||||||
|
gnome-extensions-app
|
||||||
|
|
||||||
memtest86+
|
memtest86+
|
||||||
syslinux
|
syslinux
|
||||||
|
@ -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
|
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
|
||||||
[org.gnome.shell]
|
[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
|
FOE
|
||||||
|
|
||||||
# Make the welcome screen show up
|
# Make the welcome screen show up
|
||||||
|
Loading…
Reference in New Issue
Block a user