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