Merge branch 'master' of github.com:flynx/post-install

This commit is contained in:
Alex A. Naanou 2025-10-31 04:52:55 +03:00
commit 5949f7a925

View File

@ -89,6 +89,7 @@ FEATURES=(
npm npm
vim vim
tlp
start-services start-services
start-user-services start-user-services
@ -133,6 +134,11 @@ CFG_USER_LINK=(
CFG_USER_COPY=( CFG_USER_COPY=(
) )
PKG_DNF_LATEX=(
texlive-latex
texlive-photobook
)
# general user env tools... # general user env tools...
# XXX add way to alias names for differen platforms... # XXX add way to alias names for differen platforms...
PKG_CLI_TOOLS=( PKG_CLI_TOOLS=(
@ -174,7 +180,6 @@ PKG_DNF=(
#intel-media-driver intel-gpu-tools mesa-dri-drivers mpv #intel-media-driver intel-gpu-tools mesa-dri-drivers mpv
# also see: https://github.com/AdnanHodzic/auto-cpufreq # also see: https://github.com/AdnanHodzic/auto-cpufreq
tlp
acpi acpi
smartmontools smartmontools
nut nut
@ -182,13 +187,12 @@ PKG_DNF=(
# tools and recovery... # tools and recovery...
gparted gdisk gparted gdisk
testdisk testdisk
foremost scalpel binwalk foremost binwalk #scalpel
# networking... # networking...
syncthing
tor obfs4 tor obfs4
yt-dlp qbittorrent httrack yt-dlp qbittorrent httrack
perl-Image-ExifTool
# tools... # tools...
# XXX prune with $PKG_CLI_TOOLS... # XXX prune with $PKG_CLI_TOOLS...
@ -198,8 +202,8 @@ PKG_DNF=(
p7zip zip unrar zstd p7zip zip unrar zstd
btop htop atop nvtop iftop iotop #csysdig?? btop htop atop nvtop iftop iotop #csysdig??
perf perf
wavemon #wavemon
ncdu cpu-x glances stacer ncdu cpu-x glances #stacer
jdupes fdupes jdupes fdupes
keepassxc keepassxc
kitty #ghostty kitty #ghostty
@ -221,6 +225,8 @@ PKG_DNF=(
# # XXX this sees to have no effect until /etc/vconsole.conf is # # XXX this sees to have no effect until /etc/vconsole.conf is
# # loaded... # # loaded...
# GRUB_CMDLINE_LINUX="... vconsole.font=ter-v24n" # GRUB_CMDLINE_LINUX="... vconsole.font=ter-v24n"
# rebuild config:
# grub2-mkconfig -o /boot/grub2/grub.cfg
# XXX should we also add a feature to set these up??? # XXX should we also add a feature to set these up???
terminus-fonts terminus-fonts
terminus-fonts-console terminus-fonts-console
@ -229,6 +235,7 @@ PKG_DNF=(
# dev... # dev...
git git
nodejs golang nodejs golang
upx
# media... # media...
vlc mpv cmus mpg123 id3v2 mpd mpc vlc mpv cmus mpg123 id3v2 mpd mpc
@ -236,6 +243,7 @@ PKG_DNF=(
mkvtoolnix-gui mkvtoolnix-gui
avidemux avidemux
exiftool exiv2 vips-tools exiftool exiv2 vips-tools
perl-Image-ExifTool
# codecs... # codecs...
gstreamer1-plugin-openh264 gstreamer1-plugin-openh264
@ -252,6 +260,8 @@ PKG_DNF=(
ulauncher ulauncher
gnome-tweaks gnome-tweaks
gnome-firmware
# apps... # apps...
krita krita
pdftk pdftk
@ -271,6 +281,9 @@ PKG_DNF=(
gnome-shell-extension-just-perfection gnome-shell-extension-just-perfection
${PKG_CLI_TOOLS[@]} ${PKG_CLI_TOOLS[@]}
${PKG_DNF_LATEX[@]}
) )
# XXX # XXX
@ -295,7 +308,9 @@ PKG_FLATPAK=(
# net... # net...
#org.briarproject.Briar #org.briarproject.Briar
io.github.ungoogled_software.ungoogled_chromium io.github.ungoogled_software.ungoogled_chromium
app.zen_browser.zen
org.localsend.localsend_app org.localsend.localsend_app
io.github.martchus.syncthingtray
# media... # media...
fr.handbrake.ghb fr.handbrake.ghb
@ -303,10 +318,11 @@ PKG_FLATPAK=(
org.avidemux.Avidemux org.avidemux.Avidemux
# tools... # tools...
com.logseq.Logseq
com.github.xournalpp.xournalpp
ch.openboard.OpenBoard ch.openboard.OpenBoard
org.inkscape.Inkscape org.inkscape.Inkscape
org.blender.Blender org.blender.Blender
com.github.xournalpp.xournalpp
) )
PKG_SNAP=( PKG_SNAP=(
@ -433,8 +449,8 @@ function feature-dir(){
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function feature-dnf(){ function feature-dnf(){
@ sudo dnf update @ sudo dnf update ${DNF_ARGS}
@setupList sudo dnf install - ${PKG_DNF[@]} @setupList sudo dnf install ${DNF_ARGS} - ${PKG_DNF[@]}
} }
@ -498,6 +514,15 @@ function feature-start-user-services(){
} }
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function feature-tlp(){
@ sudo dnf install tlp tlp-rdw
@ sudo dnf remove tuned tuned-ppd
@ sudo systemctl enable tlp
@ sudo tlp start
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function feature-vim(){ function feature-vim(){
@ sudo dnf install vim gvim @ sudo dnf install vim gvim
@ -679,7 +704,7 @@ function feature-snapshots(){ (
@ dnf install snapper python3-dnf-plugin-snapper @ dnf install snapper python3-dnf-plugin-snapper
@ sudo snapper -c root create-config / @ sudo snapper -c root create-config /
@ sudo snapper -c home create-config /home @ sudo snapper -c home create-config /home
@ sudo snapper -c boot create-config /boot #@ sudo snapper -c boot create-config /boot
@ cd ~/work/EXTERNAL/ @ cd ~/work/EXTERNAL/
if ! [ -d grub-btrfs ] ; then if ! [ -d grub-btrfs ] ; then