Skip to content

whslabs-linux/silverblue-39-notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 

Repository files navigation

Config git

git config --global core.symlinks false

Mask remote desktop and sshd

sudo systemctl mask gnome-remote-desktop
sudo systemctl mask sshd

Install borgbackup

https://github.com/borgbackup/borg

curl -OL https://github.com/borgbackup/borg/releases/download/1.4.2/borg-linux-glibc235-x86_64-gh
sudo install borg-linux-glibc235-x86_64-gh /usr/local/bin/borg
rm borg-linux-glibc235-x86_64-gh

Install packer

https://github.com/hashicorp/packer

curl -O https://releases.hashicorp.com/packer/1.14.1/packer_1.14.1_linux_amd64.zip
unzip packer_1.14.1_linux_amd64.zip packer
sudo install packer /usr/local/bin
rm packer_1.14.1_linux_amd64.zip packer

Install flatpaks

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
flatpak info --show-permissions org.keepassxc.KeePassXC
sudo flatpak override --unshare=network
sudo flatpak override --share=network org.filezillaproject.Filezilla

Install rpmfusion

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 \
  ;

Install nvidia driver and smplayer

rpm-ostree install \
  akmod-nvidia \
  smplayer \
  xorg-x11-drv-nvidia-cuda \
  ;
rpm-ostree kargs \
  --append=modprobe.blacklist=nouveau,nova-core \
  --append=nvidia-drm.modeset=1 \
  --append=rd.driver.blacklist=nouveau,nova-core \
  ;

Smplayer preference > advanced > mplayer/mpv > options

--vo=gpu-next --gpu-api=vulkan --hwdec=vulkan --gpu-context=waylandvk

Install amd driver

rpm-ostree override remove mesa-va-drivers --install mesa-va-drivers-freeworld
rpm-ostree install mesa-vdpau-drivers-freeworld
rpm-ostree override remove mesa-vulkan-drivers --install mesa-vulkan-drivers-freeworld

Install ffmpeg

rpm-ostree override remove \
    fdk-aac-free \
    ffmpeg-free \
    libavcodec-free \
    libavdevice-free \
    libavfilter-free \
    libavformat-free \
    libavutil-free \
    libpostproc-free \
    libswresample-free \
    libswscale-free \
  --install ffmpeg

Install virt-manager

dnf group info Virtualization
rpm-ostree install \
  libvirt-daemon-config-network \
  libvirt-daemon-kvm \
  qemu-kvm \
  virt-install \
  virt-manager \
  virt-viewer \
  ;
sudo systemctl enable --now libvirtd
rpm-ostree install libguestfs-tools

Install brasero

rpm-ostree install brasero

Install clamav

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

Install nix

# /etc/nix/nix.conf
trusted-users = whs
sudo systemctl restart nix-daemon
# /etc/ostree/prepare-root.conf
[composefs]
enabled = yes
[root]
transient = true
rpm-ostree initramfs-etc --track=/etc/ostree/prepare-root.conf
rpm-ostree update
flatpak update -y
nix flake update --flake ~/.config/home-manager
home-manager init --switch --impure

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published