git config --global core.symlinks false
curl -OL https://github.com/borgbackup/borg/releases/download/1.4.0/borg-linux-glibc236
sudo install borg-linux-glibc* /usr/local/bin/borg
rm borg-linux-glibc*
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install -y flathub com.github.tchx84.Flatseal
flatpak install -y flathub org.filezillaproject.Filezilla
flatpak install -y flathub org.keepassxc.KeePassXC
rpm-ostree install \
https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm \
;
rpm-ostree install \
akmod-nvidia \
smplayer \
xorg-x11-drv-nvidia-cuda \
;
rpm-ostree kargs \
--append=modprobe.blacklist=nouveau \
--append=nvidia-drm.modeset=1 \
--append=rd.driver.blacklist=nouveau \
;
rpm-ostree override remove \
ffmpeg-free \
libavcodec-free \
libavdevice-free \
libavfilter-free \
libavformat-free \
libavutil-free \
libpostproc-free \
libswresample-free \
libswscale-free \
--install ffmpeg
rpm-ostree install \
libguestfs-tools \
libvirt-daemon-config-network \
libvirt-daemon-kvm \
qemu-kvm \
virt-install \
virt-manager \
virt-viewer \
;
sudo systemctl enable --now libvirtd
grep -E '^libvirt:' /usr/lib/group | sudo tee -a /etc/group
sudo usermod -aG libvirt $USER
https://github.com/hashicorp/packer
curl -O https://releases.hashicorp.com/packer/1.11.2/packer_1.11.2_linux_amd64.zip
sudo unzip -d /usr/local/bin packer_*_linux_amd64.zip packer
rm packer_*_linux_amd64.zip
rpm-ostree install brasero
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
mkdir -p ~/.config/nix
cat<<EOF>~/.config/nix/nix.conf
experimental-features = nix-command flakes
EOF
rpm-ostree install -y clamav clamd clamav-update
# /etc/clamd.d/scan.conf
LocalSocket /run/clamd.scan/clamd.sock
# /etc/systemd/system/clamav-clamonacc.service.d/override.conf
[Service]
ExecStart=
ExecStart=/usr/sbin/clamonacc -F --fdpass -v --config-file=/etc/clamd.d/scan.conf
sudo freshclam
sudo setsebool -P antivirus_can_scan_system 1
sudo systemctl enable --now clamav-clamonacc
sudo systemctl enable --now clamav-freshclam
sudo systemctl enable --now clamd@scan