genpac 0.1.0

Sandbox for Gentoo ebuild development using bubblewrap
# Copyright (C) 2023 Gokul Das B
# SPDX-License-Identifier: GPL-3.0-or-later
# Configuration file for genpac utility
###########################################
# This file contains the default settings for genpac utility. Please copy this file as
# $XDG_CONFIG_HOME/genpac/config.toml and modify as desired. $XDG_CONFIG_HOME is ~/.config
# directory by default, unless redefined with an environment variable.

[vars.paths]
configs = "~/myproject/configs"
overlay = "~/myproject/overlay"
repodir = "/var/db/repos"
portage = "/etc/portage"

[workspace]
location = "~/chroots"
backend  = "btrfs"

[snapshot]
template = "base"

[idmaps]
uid = [[0, 1000, 1], [1, 2000001, 65535]]
gid = [[0, 1000, 1], [1, 2000001, 65535]]

[sandbox]
command    = "/bin/bash --login"
tmpfs-size = 10

[sandbox.mounts.repos]
gentoo = "${repodir}/gentoo"
guru   = "${repodir}/guru"
mypkgs = "${overlay}"

[[sandbox.mounts.files]]
  src  = "${configs}/profile"
  dest = "/etc/profile"

[[sandbox.mounts.files]]
  src  = "${configs}/make.conf"
  dest = "${portage}/make.conf"