Fedora kinoite, let's gooooooooo
This commit is contained in:
41
infrastructure/graduated/fedora/Containerfile
Normal file
41
infrastructure/graduated/fedora/Containerfile
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
FROM quay.io/toolbx/arch-toolbox:latest
|
||||||
|
|
||||||
|
RUN pacman -Syu --noconfirm
|
||||||
|
|
||||||
|
# Install zsh
|
||||||
|
RUN pacman -S --noconfirm zsh grml-zsh-config zsh-syntax-highlighting zsh-autosuggestions pkgfile
|
||||||
|
|
||||||
|
COPY <<EOF /etc/zsh/zshrc.local
|
||||||
|
# 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 ###
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# Install tools
|
||||||
|
RUN pacman -S --noconfirm \
|
||||||
|
vim \
|
||||||
|
bind \
|
||||||
|
iperf3 \
|
||||||
|
kubectl \
|
||||||
|
helm \
|
||||||
|
nethogs \
|
||||||
|
python \
|
||||||
|
python-pip \
|
||||||
|
python-pipx
|
||||||
|
|
||||||
|
CMD /usr/bin/zsh
|
||||||
208
infrastructure/graduated/fedora/fedora-kinoite.md
Normal file
208
infrastructure/graduated/fedora/fedora-kinoite.md
Normal file
@@ -0,0 +1,208 @@
|
|||||||
|
# Fedora Kinoite
|
||||||
|
|
||||||
|
- [Fedora Kinoite](#fedora-kinoite)
|
||||||
|
- [Apps](#apps)
|
||||||
|
- [VSCode](#vscode)
|
||||||
|
- [Bitwarden](#bitwarden)
|
||||||
|
- [MPV](#mpv)
|
||||||
|
- [Nextcloud Desktop](#nextcloud-desktop)
|
||||||
|
- [Nextcloud Talk](#nextcloud-talk)
|
||||||
|
- [Discord](#discord)
|
||||||
|
- [Proton Mail](#proton-mail)
|
||||||
|
- [Gimp](#gimp)
|
||||||
|
- [Minecraft](#minecraft)
|
||||||
|
- [Moonlight](#moonlight)
|
||||||
|
- [Steam](#steam)
|
||||||
|
- [Marknote](#marknote)
|
||||||
|
- [Raspberry Pi Imager](#raspberry-pi-imager)
|
||||||
|
- [Fedora Media Writer](#fedora-media-writer)
|
||||||
|
- [Toolbox](#toolbox)
|
||||||
|
- [Arch Toolbox Setup](#arch-toolbox-setup)
|
||||||
|
- [Custom image](#custom-image)
|
||||||
|
|
||||||
|
## Apps
|
||||||
|
|
||||||
|
Flatpak installs are from Flathub unless otherwise noted.
|
||||||
|
|
||||||
|
### VSCode
|
||||||
|
|
||||||
|
Write code.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
flatpak install com.visualstudio.code
|
||||||
|
```
|
||||||
|
|
||||||
|
Add to settings.json so the host shell is spawned
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"terminal.integrated.defaultProfile.linux": "bash",
|
||||||
|
"terminal.integrated.profiles.linux": {
|
||||||
|
"bash": {
|
||||||
|
"path": "/app/bin/host-spawn",
|
||||||
|
"args": ["bash"],
|
||||||
|
"icon": "terminal-bash",
|
||||||
|
"overrideName": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Bitwarden
|
||||||
|
|
||||||
|
Password manager.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
flatpak install com.bitwarden.desktop
|
||||||
|
```
|
||||||
|
|
||||||
|
### MPV
|
||||||
|
|
||||||
|
Video player (like VLC but can frame-by-frame in reverse).
|
||||||
|
|
||||||
|
```bash
|
||||||
|
flatpak install io.mpv.Mpv
|
||||||
|
```
|
||||||
|
|
||||||
|
### Nextcloud Desktop
|
||||||
|
|
||||||
|
Sync your files.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
flatpak install com.nextcloud.desktopclient.nextcloud
|
||||||
|
```
|
||||||
|
|
||||||
|
### Nextcloud Talk
|
||||||
|
|
||||||
|
Talk to your friends.
|
||||||
|
|
||||||
|
Download nextcloud talk from:
|
||||||
|
|
||||||
|
<https://github.com/nextcloud-releases/talk-desktop/releases>
|
||||||
|
|
||||||
|
```bash
|
||||||
|
flatpak install ./Nextcloud.Talk-linux-x64.flatpak
|
||||||
|
```
|
||||||
|
|
||||||
|
### Discord
|
||||||
|
|
||||||
|
Talk to your enemies.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
flatpak install com.discordapp.Discord
|
||||||
|
```
|
||||||
|
|
||||||
|
### Proton Mail
|
||||||
|
|
||||||
|
Talk to your business partners?
|
||||||
|
|
||||||
|
```bash
|
||||||
|
flatpak install me.proton.Mail
|
||||||
|
```
|
||||||
|
|
||||||
|
### Gimp
|
||||||
|
|
||||||
|
Photoshop for Linux.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
flatpak install org.gimp.GIMP
|
||||||
|
```
|
||||||
|
|
||||||
|
### Minecraft
|
||||||
|
|
||||||
|
Mine. Craft.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
flatpak install com.mojang.Minecraft
|
||||||
|
```
|
||||||
|
|
||||||
|
### Moonlight
|
||||||
|
|
||||||
|
Mine. Craft. But somewhere else.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
flatpak install com.moonlight_stream.Moonlight
|
||||||
|
```
|
||||||
|
|
||||||
|
### Steam
|
||||||
|
|
||||||
|
Play games.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
flatpak install com.valvesoftware.Steam
|
||||||
|
```
|
||||||
|
|
||||||
|
### Marknote
|
||||||
|
|
||||||
|
Take notes with Mark.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
flatpak install org.kde.marknote
|
||||||
|
```
|
||||||
|
|
||||||
|
### Raspberry Pi Imager
|
||||||
|
|
||||||
|
Flash your pi.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
flatpak install org.raspberrypi.rpi-imager
|
||||||
|
```
|
||||||
|
|
||||||
|
### Fedora Media Writer
|
||||||
|
|
||||||
|
Flash your stick.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
flatpak install org.fedoraproject.MediaWriter
|
||||||
|
```
|
||||||
|
|
||||||
|
## Toolbox
|
||||||
|
|
||||||
|
```bash
|
||||||
|
toolbox create --distro arch
|
||||||
|
toolbox enter arch-toolbox-latest
|
||||||
|
```
|
||||||
|
|
||||||
|
### Arch Toolbox Setup
|
||||||
|
|
||||||
|
Install zsh
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pacman -S zsh grml-zsh-config zsh-syntax-highlighting zsh-autosuggestions pkgfile
|
||||||
|
|
||||||
|
cat <<EOF > ~/.zshrc
|
||||||
|
# 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 ###
|
||||||
|
EOF
|
||||||
|
```
|
||||||
|
|
||||||
|
Add this to your ~/.bashrc to launch zsh
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# If zsh exists, zsh
|
||||||
|
if [ -f /bin/zsh ]; then zsh && exit; fi
|
||||||
|
```
|
||||||
|
|
||||||
|
### Custom image
|
||||||
|
|
||||||
|
```bash
|
||||||
|
podman build -t gitea.reeseapps.com/arch-toolbox:latest -f ./infrastructure/graduated/fedora/Containerfile
|
||||||
|
toolbox create -i gitea.reeseapps.com/arch-toolbox:latest
|
||||||
|
toolbox enter
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user