Skip to content

Commit

Permalink
fest: add target for podman-setup
Browse files Browse the repository at this point in the history
includes workaround for containers/podman#20872
  • Loading branch information
clemak27 committed Dec 3, 2023
1 parent 5a88269 commit 1150ff9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Makefile
Expand Up @@ -30,8 +30,8 @@ deck: customization catppuccinColorscheme konsoleTheme
### applications

.PHONY: applications/base
applications/base:
rpm-ostree install --idempotent podman-docker vim make qemu-user-binfmt
applications/base: podman
rpm-ostree install --idempotent vim make qemu-user-binfmt
rpm-ostree override remove firefox firefox-langpacks
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install -y flathub \
Expand All @@ -41,6 +41,14 @@ applications/base:
flatpak override --user --socket=wayland --env=MOZ_ENABLE_WAYLAND=1 org.mozilla.firefox
ln -sf $$PWD/dotfiles/wezterm.lua $$HOME/.wezterm.lua

.PHONY: podman
podman:
rpm-ostree install --idempotent podman-docker
sudo touch /etc/containers/nodocker
systemctl --user enable podman.socket
# workaround for https://github.com/containers/podman/issues/20872
mkdir -p $$HOME/.config/containers
echo -e "[engine]\nstatic_dir = \"/home/clemens/.local/share/containers/storage/libpod\"\nvolume_path = \"/home/clemens/.local/share/containers/storage/libpod\"" > $$HOME/.config/containers/containers.conf

.PHONY: applications/default
applications/default:
Expand Down

0 comments on commit 1150ff9

Please sign in to comment.