major improvements to fedora kinoite and arch toolbox
All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 8m46s

This commit is contained in:
2024-12-04 19:00:13 -05:00
parent 68ea2e81fb
commit dc8b909b54
6 changed files with 198 additions and 44 deletions

View File

@@ -3,12 +3,13 @@
# Build latest image # Build latest image
podman build \ podman build \
--no-cache \ --no-cache \
-t gitea.reeseapps.com/services/arch-toolbox:latest \ -t gitea.reeseapps.com/services/arch-toolbox:debug \
-t gitea.reeseapps.com/services/arch-toolbox:$(date +%s) \
-f ./infrastructure/graduated/fedora/arch.containerfile -f ./infrastructure/graduated/fedora/arch.containerfile
# Stop the current arch toolbox # Stop the current arch toolbox
podman container stop arch-toolbox-latest podman container stop arch-toolbox-latest
podman container stop arch-toolbox-debug
# Remove the old container # Remove the old container
podman container rm arch-toolbox-latest podman container rm arch-toolbox-latest
podman container rm arch-toolbox-debug
# Start with the new image # Start with the new image
toolbox create -i gitea.reeseapps.com/services/arch-toolbox:latest toolbox create -i gitea.reeseapps.com/services/arch-toolbox:debug

View File

@@ -1,5 +1,9 @@
FROM quay.io/toolbx/arch-toolbox:latest FROM quay.io/toolbx/arch-toolbox:latest
########################
##### Pacman #####
########################
# Enable Pacman multilib # Enable Pacman multilib
RUN tee -a /etc/pacman.conf <<EOF RUN tee -a /etc/pacman.conf <<EOF
[multilib] [multilib]
@@ -38,7 +42,21 @@ RUN pacman -S --noconfirm \
btop \ btop \
jq \ jq \
yq \ yq \
imagemagick imagemagick \
nodejs \
npm \
go \
rust \
rustup \
git-lfs \
flatpak \
net-tools \
glances \
networkmanager
########################
##### Extra Apps #####
########################
# Ollama # Ollama
RUN curl -L https://ollama.com/download/ollama-linux-amd64.tgz -o ollama-linux-amd64.tgz && \ RUN curl -L https://ollama.com/download/ollama-linux-amd64.tgz -o ollama-linux-amd64.tgz && \
@@ -57,36 +75,11 @@ RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o
chmod a+rx /usr/local/bin/youtube-dlp chmod a+rx /usr/local/bin/youtube-dlp
#################### ####################
##### RUN LAST ##### ##### COPIES #####
#################### ####################
# ZSHRC # zshrc.local
COPY <<EOF /etc/zsh/zshrc.local COPY zshrc /etc/zsh/zshrc.local
# Basic settings
autoload bashcompinit && bashcompinit
autoload -U compinit; compinit
zstyle ':completion:*' menu select
# Prompt settings # tmux.conf
autoload -Uz promptinit COPY tmux.conf /etc/tmux.conf
promptinit
PROMPT_EOL_MARK=
# Syntax Highlighting
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
# Command Not Found Autocomplete
source /usr/share/doc/pkgfile/command-not-found.zsh
### Custom Commands and Aliases ###
# Fix for Ansible
export LC_ALL="C.UTF-8"
# AWS
complete -C '/usr/local/bin/aws_completer' aws
# Podman
export CONTAINER_HOST=unix:///run/user/1000/podman/podman.sock
EOF

View File

@@ -3,6 +3,8 @@
- [Fedora Kinoite](#fedora-kinoite) - [Fedora Kinoite](#fedora-kinoite)
- [Podman](#podman) - [Podman](#podman)
- [Libvirt, Qemu, KVM](#libvirt-qemu-kvm) - [Libvirt, Qemu, KVM](#libvirt-qemu-kvm)
- [Network](#network)
- [VLAN Setup with nmcli](#vlan-setup-with-nmcli)
- [Apps](#apps) - [Apps](#apps)
- [VSCode](#vscode) - [VSCode](#vscode)
- [Bitwarden](#bitwarden) - [Bitwarden](#bitwarden)
@@ -21,13 +23,18 @@
- [Bambu Studio](#bambu-studio) - [Bambu Studio](#bambu-studio)
- [Eyedropper](#eyedropper) - [Eyedropper](#eyedropper)
- [Mingle](#mingle) - [Mingle](#mingle)
- [Mission Center](#mission-center)
- [Obsidian](#obsidian) - [Obsidian](#obsidian)
- [Dev Toolbox](#dev-toolbox) - [Dev Toolbox](#dev-toolbox)
- [Junction](#junction) - [Junction](#junction)
- [Kdenlive](#kdenlive) - [Kdenlive](#kdenlive)
- [The Powder Toy](#the-powder-toy) - [The Powder Toy](#the-powder-toy)
- [Pika](#pika) - [Pika](#pika)
- [Filezilla](#filezilla)
- [Transmission](#transmission)
- [AdwSteamGtk](#adwsteamgtk)
- [Frog](#frog)
- [CPU-X](#cpu-x)
- [Ungoogled Chromium](#ungoogled-chromium)
- [Toolbox](#toolbox) - [Toolbox](#toolbox)
- [Reese's Arch Toolbox](#reeses-arch-toolbox) - [Reese's Arch Toolbox](#reeses-arch-toolbox)
- [Pipx/Poetry](#pipxpoetry) - [Pipx/Poetry](#pipxpoetry)
@@ -57,6 +64,17 @@ rpm-ostree install virt-manager
systemctl enable --now libvirtd systemctl enable --now libvirtd
``` ```
## Network
### VLAN Setup with nmcli
```bash
# VLAN 2
nmcli conn
export NMCLI_DEVICE=enp195s0f4u1u3
nmcli connection add type VLAN con-name $NMCLI_DEVICE.2 dev $NMCLI_DEVICE id 2
```
## Apps ## Apps
Flatpak installs are from Flathub unless otherwise noted. Flatpak installs are from Flathub unless otherwise noted.
@@ -67,6 +85,17 @@ Write code.
```bash ```bash
flatpak install com.visualstudio.code flatpak install com.visualstudio.code
# Fix wayland scaling issues
cp /var/lib/flatpak/exports/share/applications/com.visualstudio.code ~/.local/share/applications
# Add `--socket=wayland` and `--ozone-platform=wayland` to the correct locations in the "Exec" field
sed \
-ri 's/(Exec=.* run )(.*)(com.visualstudio.code)/\1--socket=wayland \2\3 --ozone-platform=wayland/g' \
~/.local/share/applications/com.visualstudio.code
# Validate desktop database and reload
desktop-file-validate ~/.local/share/applications/com.nextcloud.talk.desktop
update-desktop-database
``` ```
Add to settings.json so the host shell is spawned Add to settings.json so the host shell is spawned
@@ -118,6 +147,22 @@ Sync your files.
```bash ```bash
flatpak install com.nextcloud.desktopclient.nextcloud flatpak install com.nextcloud.desktopclient.nextcloud
# Fix wayland scaling issues
cp /var/lib/flatpak/exports/share/applications/com.visualstudio.code ~/.local/share/applications
# Add `--socket=wayland` and `--ozone-platform=wayland` to the correct locations in the "Exec" field
sed \
-ri 's/(Exec=.* run )(.*)(com.visualstudio.code)/\1--socket=wayland \2\3 --ozone-platform=wayland/g' \
~/.local/share/applications/com.visualstudio.code
# Validate desktop database and reload
desktop-file-validate ~/.local/share/applications/com.nextcloud.talk.desktop
update-desktop-database
```
```bash
# Autostart
ln -s ~/.local/share/applications/com.nextcloud.talk.desktop ~/.config/autostart/
``` ```
### Nextcloud Talk ### Nextcloud Talk
@@ -130,6 +175,9 @@ Download nextcloud talk from:
```bash ```bash
flatpak install ./Nextcloud.Talk-linux-x64.flatpak flatpak install ./Nextcloud.Talk-linux-x64.flatpak
# autostart
ln -s /var/lib/flatpak/exports/share/applications/com.nextcloud.talk.desktop ~/.config/autostart/
``` ```
### Discord ### Discord
@@ -146,6 +194,23 @@ Talk to your business partners?
```bash ```bash
flatpak install me.proton.Mail flatpak install me.proton.Mail
# Fix wayland scaling issues
cp /var/lib/flatpak/exports/share/applications/me.proton.Mail.desktop ~/.local/share/applications
# Add `--socket=wayland` and `--ozone-platform=wayland` to the correct locations in the "Exec" field
sed \
-ri 's/(Exec=.* run )(.*)(me.proton.Mail)/\1--socket=wayland \2\3 --ozone-platform=wayland/g' \
~/.local/share/applications/me.proton.Mail.desktop
# Validate desktop database and reload
desktop-file-validate ~/.local/share/applications/me.proton.Mail.desktop
update-desktop-database
```
```bash
# Autostart
ln -s ~/.local/share/applications/me.proton.Mail.desktop ~/.config/autostart/
``` ```
### Gimp ### Gimp
@@ -243,14 +308,6 @@ Create custom emojis.
flatpak install io.github.halfmexican.Mingle flatpak install io.github.halfmexican.Mingle
``` ```
### Mission Center
Literally Windows task manager but for linux and it's awesome
```bash
flatpak install io.missioncenter.MissionCenter
```
### Obsidian ### Obsidian
Show your friends your massive graph Show your friends your massive graph
@@ -299,6 +356,67 @@ Backup with Borg.
flatpak install org.gnome.World.PikaBackup flatpak install org.gnome.World.PikaBackup
``` ```
### Filezilla
Really easy ftp, ftps, sftp, etc. file transfer.
```bash
flatpak install org.filezillaproject.Filezilla
```
### Transmission
Bittorent Client.
```bash
flatpak install com.transmissionbt.Transmission
```
### AdwSteamGtk
Make Steam look like a KDE App... you know you want to.
```bash
flatpak install io.github.Foldex.AdwSteamGtk
```
### Frog
Extract text, scan QR codes, from images.
```bash
flatpak install com.github.tenderowl.frog
```
### CPU-X
CPU-Z but X this time
```bash
flatpak install io.github.thetumultuousunicornofdarkness.cpu-x
```
### Ungoogled Chromium
Chrom
```bash
flatpak install io.github.ungoogled_software.ungoogled_chromium
# Fix wayland scaling issues
cp /var/lib/flatpak/exports/share/applications/io.github.ungoogled_software.ungoogled_chromium.desktop ~/.local/share/applications
# Add `--socket=wayland` and `--ozone-platform=wayland` to the correct locations in the "Exec" field
sed \
-ri 's/(Exec=.* run )(.*)(io.github.ungoogled_software.ungoogled_chromium)/\1--socket=wayland \2\3 --ozone-platform=wayland/g' \
~/.local/share/applications/io.github.ungoogled_software.ungoogled_chromium.desktop
```
```bash
# Validate and reload desktop database
desktop-file-validate ~/.local/share/applications/io.github.ungoogled_software.ungoogled_chromium.desktop
update-desktop-database
```
## Toolbox ## Toolbox
```bash ```bash

View File

@@ -161,7 +161,7 @@ firewall-cmd --zone=public --list-ports
Allow Cockpit with Allow Cockpit with
``` ```bash
firewall-cmd --permanent --zone=public --add-port=9090/tcp firewall-cmd --permanent --zone=public --add-port=9090/tcp
firewall-cmd --reload firewall-cmd --reload
``` ```

View File

@@ -0,0 +1 @@
set-option -g default-shell "/bin/zsh"

View File

@@ -0,0 +1,41 @@
# Basic settings
autoload bashcompinit && bashcompinit
autoload -U compinit; compinit
zstyle ':completion:*' menu select
# Prompt settings
autoload -Uz promptinit
promptinit
PROMPT_EOL_MARK=
# Syntax Highlighting
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
# Command Not Found Autocomplete
source /usr/share/doc/pkgfile/command-not-found.zsh
### Custom Commands and Aliases ###
# Local bin PATH
export PATH="$HOME/.local/bin:$PATH"
# Fix for Ansible
export LC_ALL="C.UTF-8"
# AWS
complete -C '/usr/local/bin/aws_completer' aws
# Podman
export CONTAINER_HOST=unix:///run/user/1000/podman/podman.sock
# Go puts binaries here
export PATH="$PATH:$(go env GOBIN):$(go env GOPATH)/bin"
# Nodejs Binaries
export npm_config_prefix="$HOME/.local"
# Calculate all folder sizes in current dir
alias {dudir,dud}='du -h --max-depth 1 | sort -h'
# Calculate all file sizes in current dir
alias {dufile,duf}='ls -lhSr'