From 50f9dc65225daca8a1487ff7162b37cb34cd3710 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Thu, 2 Jan 2025 23:34:10 -0500 Subject: [PATCH] update fedora kinoite with appimage stuff --- .../graduated/fedora/fedora-kinoite.md | 111 ++++++++++++++---- 1 file changed, 88 insertions(+), 23 deletions(-) diff --git a/infrastructure/graduated/fedora/fedora-kinoite.md b/infrastructure/graduated/fedora/fedora-kinoite.md index da9f0c0..22dd227 100644 --- a/infrastructure/graduated/fedora/fedora-kinoite.md +++ b/infrastructure/graduated/fedora/fedora-kinoite.md @@ -7,7 +7,10 @@ - [Network](#network) - [VLAN Setup with nmcli](#vlan-setup-with-nmcli) - [Apps](#apps) + - [Gear Lever](#gear-lever) - [VSCode](#vscode) + - [rpm-ostree](#rpm-ostree) + - [Flatpak](#flatpak) - [Bitwarden](#bitwarden) - [MPV](#mpv) - [Nextcloud Desktop](#nextcloud-desktop) @@ -18,10 +21,12 @@ - [Minecraft](#minecraft) - [Moonlight](#moonlight) - [Steam](#steam) + - [MangoHud](#mangohud) - [Raspberry Pi Imager](#raspberry-pi-imager) - [Fedora Media Writer](#fedora-media-writer) - [Pods](#pods) - [Bambu Studio](#bambu-studio) + - [Freecad](#freecad) - [Eyedropper](#eyedropper) - [Mingle](#mingle) - [Obsidian](#obsidian) @@ -32,15 +37,15 @@ - [Pika](#pika) - [Filezilla](#filezilla) - [Transmission](#transmission) - - [AdwSteamGtk](#adwsteamgtk) - [Frog](#frog) - [CPU-X](#cpu-x) - [Ungoogled Chromium](#ungoogled-chromium) - [Signal](#signal) - [Toolbox](#toolbox) - [Reese's Arch Toolbox](#reeses-arch-toolbox) - - [Pipx/Poetry](#pipxpoetry) - [Using Reese's Arch Toolbox](#using-reeses-arch-toolbox) + - [CPU Image](#cpu-image) + - [AMD GPU Image](#amd-gpu-image) - [Updating Reese's Arch Toolbox](#updating-reeses-arch-toolbox) - [Building Reese's Arch Toolbox](#building-reeses-arch-toolbox) @@ -113,10 +118,32 @@ flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.f When prompted, prefer flathub. +### Gear Lever + +I would recommend you install Gear Lever to manage App Images: + +```bash +flatpak install it.mijorus.gearlever +``` + ### VSCode Write code. +#### rpm-ostree + +This layers vscode on the system and lets you download the latest release without waiting +for flathub to update the flatpak. Offers some advantages over flatpak, like not needing +to use flatseal/other to manage host permissions, but the flatpak install works just fine. + + + +1. Download the rpm +2. sudo rpm-ostree install ./vscode-something-something.rpm +3. Reboot + +#### Flatpak + ```bash flatpak install com.visualstudio.code ``` @@ -325,6 +352,14 @@ At the very top of the config you can add a pin for a printer permanently with: } ``` +### Freecad + +Benchy benchy benchy oh no, I can't do that, this is hard. + +Download the AppImage and use [Gear Lever](#apps) to install: + + + ### Eyedropper Pick a color, any color (from your screen). @@ -399,7 +434,7 @@ flatpak install org.filezillaproject.Filezilla ### Transmission -Bittorent Client. +Expand your "ISO" collection. ```bash flatpak install com.transmissionbt.Transmission @@ -471,7 +506,6 @@ I have a custom arch image based on the default arch-toolbox image. It offers: - python, pip, and pipx - ansible - aws cli -- ollama (add `export OLLAMA_HOST=my.ollama.host` to your `.zshrc` to use a remote host) - podman (connected automatically to the host machine via the unix socket) - tmux - ffmpeg @@ -484,34 +518,65 @@ I have a custom arch image based on the default arch-toolbox image. It offers: - yq - imagemagick -#### Pipx/Poetry - - - -```bash -# pipx is already installed but the pathing won't work for installed apps -pipx ensurepath # then source ~/.zshrc or ~/.bashrc - -pipx install poetry -# Now this should work. -poetry new test-project -``` - ### Using Reese's Arch Toolbox +Copy the relevant aliases below into your `.bashrc`. + +Run `ntbox` the first time to create a new toolbox. + +Run `tbox` anytime you want to enter the toolbox. + +Run `rtbox` to delete the toolbox. + +Run `utbox` to update the toolbox image. You'll need to run `rtbox && ntbox` after to spin up the toolbox with the new image. + +#### CPU Image + +Add the following to your `.bashrc` + ```bash -toolbox create -i gitea.reeseapps.com/services/arch-toolbox:latest -SHELL=/bin/zsh toolbox enter arch-toolbox-latest +# Reese's Toolbox Commands +export TBOX_REPO='gitea.reeseapps.com/services' +export TBOX_IMAGE='arch-toolbox' +export TBOX_TAG='latest' +export TBOX_NAME="$TBOX_IMAGE-$TBOX_TAG" +# Creates a new toolbox +alias ntbox="toolbox create -i $TBOX_REPO/$TBOX_IMAGE:$TBOX_TAG" +# Enters the toolbox when you want to use it, you'll be running this all the time +alias tbox="SHELL=/bin/zsh toolbox enter $TBOX_NAME" +# Removes the toolbox +alias rtbox="podman container stop $TBOX_NAME && podman container rm $TBOX_NAME" +# Updates the toolbox +alias utbox="podman pull $TBOX_REPO/$TBOX_IMAGE:$TBOX_TAG" +``` + +#### AMD GPU Image + +Add the following to your `.bashrc` + +```bash +# Reese's Toolbox Commands +export TBOX_REPO='gitea.reeseapps.com/services' +export TBOX_IMAGE='arch-toolbox-amdgpu' +export TBOX_TAG='latest' +export TBOX_NAME="$TBOX_IMAGE-$TBOX_TAG" +# Creates a new toolbox +alias ntbox="toolbox create -i $TBOX_REPO/$TBOX_IMAGE:$TBOX_TAG" +# Enters the toolbox when you want to use it, you'll be running this all the time +alias tbox="SHELL=/bin/zsh toolbox enter $TBOX_NAME" +# Removes the toolbox +alias rtbox="podman container stop $TBOX_NAME && podman container rm $TBOX_NAME" +# Updates the toolbox +alias utbox="podman pull $TBOX_REPO/$TBOX_IMAGE:$TBOX_TAG" ``` ### Updating Reese's Arch Toolbox ```bash # Stop the current arch toolbox -podman container stop arch-toolbox-latest -# Remove the old container -podman container rm arch-toolbox-latest -# Pull the new image +untbox + +# Pull the newest image podman pull gitea.reeseapps.com/services/arch-toolbox:latest # Start with the new image toolbox create -i gitea.reeseapps.com/services/arch-toolbox:latest