Files
homelab/infrastructure/graduated/fedora/fedora-kinoite.md
ducoterra 5af0fda759
Some checks failed
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Failing after 16s
organize fedora after expansion
2025-01-12 09:30:31 -05:00

2.2 KiB

Fedora Kinoite

Podman

Since you'll be using podman for most container-based services, you'll want to set the the podman auth file to somewhere persistent, otherwise it'll get deleted every time you reboot.

Add this to your .bashrc:

# Podman auth file
export REGISTRY_AUTH_FILE=$HOME/.podman-auth.json

Source that and then run podman login to create the file.

Autostarting services with quadlets

If you want to run something as your user at boot (like a systemd process, think ollama) you can create a user quadlets like so:

# Generate the .container file
podman run --rm ghcr.io/containers/podlet --install --description "Local AI" \
  podman run \
  -d \
  -v ollama:/root/.ollama \
  -p 11434:11434 \
  --name ollama \
  --restart always \
  docker.io/ollama/ollama > ~/.config/containers/systemd/ollama.container

# Verify the service (Note the filename:service, this is required! You will get "Failed to prepare filename" without it)
systemd-analyze verify ~/.config/containers/systemd/ollama.container:ollama.service

# Start the service
systemctl --user daemon-reload
systemctl --user start ollama

rpm-ostree

# Search for available packages
rpm-ostree search git

# Install a package
rpm-ostree install git

# Apply the installed package live
rpm-ostree apply-live

# Check what's been layered
rpm-ostree status

Git, Vim, etc

Some packages are nice to have at the system level.

rpm-ostree install git vim

Libvirt, Qemu, KVM

rpm-ostree install virt-manager libvirt
systemctl enable --now libvirtd

Network

Hostname

sudo hostnamectl hostname reesework16

VLAN Setup with nmcli

# VLAN 2
nmcli conn
export NMCLI_DEVICE=enp195s0f4u1u3
nmcli connection add type VLAN con-name $NMCLI_DEVICE.2 dev $NMCLI_DEVICE id 2