From 6b3eaac4e4f73a2d1a93ae77ac0e2038e467d9fb Mon Sep 17 00:00:00 2001 From: Ray Miller Date: Fri, 11 Oct 2024 09:56:06 +0100 Subject: [PATCH] Script to configure guix container on Fedora Kinoite --- podman-guix-setup.sh | 92 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100755 podman-guix-setup.sh diff --git a/podman-guix-setup.sh b/podman-guix-setup.sh new file mode 100755 index 0000000..4001320 --- /dev/null +++ b/podman-guix-setup.sh @@ -0,0 +1,92 @@ +#!/usr/bin/env bash +# + +set -e + +systemctl --user stop guix.service || true +systemctl --user stop gnu-store-volume.service || true +systemctl --user stop guix-home-volume.service || true +systemctl --user stop guix-var-volume.service || true + +( + cd $(mktemp -d) + cat > Containerfile < "${QUADLETS}/gnu-store.volume" < "${QUADLETS}/guix-var.volume" < "${QUADLETS}/guix-home.volume" < "${QUADLETS}/guix.container" <