Mastodon

Raspberry Pi 5 Server

This project, titled "Zachvlat Server," is an ambitious undertaking that aims to provide a comprehensive server setup for various purposes, all managed using Docker containers and Nginx Proxy Manager. It offers an elegant solution for self-hosting services like Nextcloud, Home Assistant, Jellyfin, Transmission, Deemix, FileBrowser, and more.

Getting Started

To get started with this project, you need to follow a few simple steps:

  1. Clone the repository by running the following command: `git clone https://github.com/zachvlat/server.git`
  2. Navigate to the project directory: `cd server`
  3. Create a directory structure for Docker data: `mkdir -p nginx/data nginx/letsencrypt nextcloud/appdata nextcloud/data hass/config jellyfin/config jellyfin/tvshows jellyfin/movies jellyfin/music transmission deemix filebrowser`
  4. Edit the Docker Compose configuration file (docker-compose.yml) to customize your services.
  5. Start the services: `docker-compose up -d`

Following these steps, you'll have a fully functional server setup with the configured services.

Services

The project includes several services:

  • Nextcloud: A self-hosted file sharing and collaboration platform.
  • Home Assistant: An open-source home automation platform.
  • Jellyfin: A personal media server software.
  • Transmission: A lightweight BitTorrent client.
  • Deemix: A music streaming downloader.
  • FileBrowser: A web-based file manager.
  • Portainer: A Docker container management tool.

Tiny11 (my way)

Review of "tiny11builder-no-windows-apps" Repository

Repository URL: tiny11builder-no-windows-apps

Features

Removed Apps:

  • (except the forked ones)
  • Teams
  • WindowsCalculator
  • WindowsCamera
  • WindowsNotepad
  • Windows.Photos
  • WindowsStickyNotes (TODO)
  • WindowsTerminal
  • MSPaint (TODO)
  • WindowsStore
  • GetStarted (TODO)

About

This script creates a trimmed-down Windows 11 image using PowerShell. It is based on the ntdevlabs/tiny11builder repository but has some improvements.

DISCLAIMER

Although the repository includes the oscdimg.exe file, it is highly recommended to download it yourself from the Windows ADK link provided in the README.md file. Also, the installation of tiny11.iso should be done offline.

Ensure you run the script with administrator privileges by opening PowerShell as an administrator.

The created Windows 11 installer iso will be available at c:\tiny11.iso

Firefox Setup

My (personal) best settings for Firefox with security/privacy without sacrificing usability. If you want greater amount of security/privacy, go to Tor! Feel free to fork it or git clone it at my Github repo.

Gaming on Debian Stable

Debian is a robust and versatile operating system, but its default setup is not optimized for gaming out of the box. This script aims to transform Debian into a viable gaming distro, leveraging various tools and optimizations to enhance the gaming experience. Here's a breakdown of what the script accomplishes:

System Update and Basic Installations

The script begins by updating and upgrading the system to ensure all packages are up-to-date:

sudo apt update
sudo apt upgrade

Next, it installs Nala, a frontend for APT that offers a cleaner and more user-friendly output:

sudo apt install nala -y

Removing Unnecessary Packages

To free up space and reduce clutter, the script removes several default applications that are not typically used for gaming:

sudo nala remove --purge imagemagick* firefox-esr libreoffice* akregator dragonplayer gimp gwenview juk kcalc kmail* kmouth knotes okular konqueror sweeper kwrite kontrast kate kdepim-themeeditors xterm pim* -y

Installing Essential Tools

The script installs various tools and libraries necessary for gaming and system optimization:

sudo nala install gamemode neofetch flatpak xboxdrv mesa-utils android-sdk-platform-tools pip pipx python-dbus-dev libglib2.0-dev pipewire pkg-config kde-config-flatpak zram-tools network-manager-openvpn-gnome -y

Setting Up Flatpak and Repositories

Flatpak is set up to enable easy installation of applications from the Flathub repository:

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

Installing Flatpak Applications

A wide range of gaming and utility applications are installed via Flatpak, such as Steam, Heroic, OBS, Firefox etc...

Configuring Git and Automount

The script sets up Git user details and automounts a games drive:

git config --global user.name "USERNAME"
git config --global user.email "MAIL"
wget https://gist.githubusercontent.com/zachvlat/7407aa5c6bd45132b320ba5d38567439/raw/14dbe0229a294137d82186f6fce5b4fcaa47479d/games-mount.sh
sudo chmod +x games-mount.sh
sudo ./games-mount.sh

Applying Various Fixes

Several fixes are applied to ensure smooth functioning of Discord, Steam, and Heroic Games Launcher:

mkdir -p ~/.config/user-tmpfiles.d echo 'L %t/discord-ipc-0 - - - - app/com.discordapp.Discord/discord-ipc-0' > ~/.config/user-tmpfiles.d/discord-rpc.conf systemctl --user enable --now systemd-tmpfiles-setup.service
sudo flatpak override --system --filesystem=/media/Games com.valvesoftware.Steam
sudo flatpak override --system --filesystem=/media/Games com.heroicgameslauncher.hgl
sudo flatpak override --system --env=FLATPAK_ENABLE_SDK_EXT=openjdk,node20,typescript com.visualstudio.code

OpenRGB Fix

Finally, an OpenRGB fix is applied to ensure proper functionality:

wget https://openrgb.org/releases/release_0.9/openrgb-udev-install.sh sudo chmod +x openrgb-udev-install.sh ./openrgb-udev-install.sh

Conclusion

This comprehensive script turns Debian into a gaming-friendly operating system, ensuring that you have all the necessary tools and optimizations to enjoy your gaming experience to the fullest.

ArchPantheon

The reason behind it is that, in my opinion I believe the elementary OS and the especially their desktop environment Pantheon to be one, if not the most, beautiful desktop environment Linux can offer. There are two problems, though: first of all Elementary OS itself, it's based on an old version of Ubuntu with all the baggages that comes with it, and second, the problem with Pantheon is, that is so close tide up with Elementary OS, that it's not something that you can plug and play like Gnome or KDE. It requires several different packages, that may or may not break your system. I 'm using this setup for about 2 months though, but no problem so far, so i consider it stable enough for me. Fair warning though, try to use Timeswift just to be safe.

Step 1: Install Archlinux.

I'm not gonna go into this, two pieces of advice, first of all try to install it with Ethernet and not WIFI to avoid the early headache and second of all use archinstall TUI installer. It takes a lot of pain away and (at the time I'm writing this guide, it's very stable and "mistake proof", so highly suggested. Just type archinstall press enter and follow from there. Use the "minimal" profile, pulse audio (if you want you can change it to pipewire now or later down the line) and continue with the rest.

Step 2: Install basic packages.

First of update packages:

sudo pacman -Syy

Then install xorg nano (you can also install vim if you want) and git:

sudo pacman -S xorg nano git

Then we are gonna install pantheon basic stuff (choose the default options when you are prompt to choose):

sudo pacman -S pantheon pantheon-session

Then we install the greeters:

sudo pacman -S lightdm lightdm-gtk-greeter
lightdm-pantheon-greeter

Now we are gonna put it inside the lightdm greeter:

sudo sed -i '38s/.*/greeter-session = io.elementary-greeter/' /etc/lightdm/lightdm.conf

Now we are kinda ready, we have to enable some things:

sudo systemctl enable lightdm.service
sudo systemctl enable NetworkManager

and then to start,

sudo systemctl start lightdm.service

Step 3: Fixing broken stuff.

First things first, click on the Gnome icon and choose the Pantheon option. Log in. One of the first things you'll notice is that there is no dock in your desktop (those broken stuff I was saying...). If you open the terminal the fonts are all over the place! If you open the Plank it has the wrong theme (not the Elementary one) and it doesn't comes up at startup (you should go to settings > applications > startup). But first of all we have to install yay.

git clone https://aur.archlinux.org/yay.git
sudo chown "your username":users yay
cd yay
makepkg -si

Now that yay is enabled we will start to implement our fixes:

yay -S pantheon-unstable gala-git
switchboard-plug-pantheon-tweaks-git
pantheon-print file-roller

You should remove conflicting dependencies (if you're asked!). Then you can log out and log in to implement the changes.

As far as it goes for the dock, you can download this theme and then unpack it at

~./local/share/plank/themes/
. Then you can right-click on the dock (without touching any icon) and press preferences to choose the new theme (this is for the dark theme but you can use whatever you want!).

From this point on you can start using your bare bones elementary OS arch Linux system. As a bonus content I want you to point out some QoL improvement you can make, because pantheon DE is very opinionated and some stuff maybe missing for some of you:

  • Wingpanel app indicators (Telegram, Discord, whatever app uses them):
    yay -S wingpanel-standalone-git

    and then
    yay -S wingpanel-indicator-ayatana-git
  • If you have sound issues you should install sof-firmware and alsa-ucm-conf (at least I had!).