diff --git a/rugpi-bakery.toml b/rugpi-bakery.toml index 1b83320..88eb91b 100644 --- a/rugpi-bakery.toml +++ b/rugpi-bakery.toml @@ -1,3 +1,11 @@ +[repositories] +rugpi-extra = { git = "https://github.com/silitics/rugpi-extra.git" } + +[layers.base] +url = "https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2023-12-11/2023-12-11-raspios-bookworm-arm64-lite.img.xz" + +[layers.customized] +parent = "base" recipes = [ "core/raspberrypi", # Prepares the Raspberry Pi base image for usage with Rugpi. "core/set-hostname", # Sets a static hostname (see parameters below). @@ -6,22 +14,25 @@ recipes = [ "rugpi-extra/zsh", # Installs ZSH. "hello-world", # Enable the `hello-world` recipe installing the static webpage. ] -# Include the firmware update for Raspberry Pi 4 and CM4. -include_firmware = "pi4" -[repositories] -rugpi-extra = { git = "https://github.com/silitics/rugpi-extra.git" } - -[parameters."core/set-hostname"] +[layers.customized.parameters."core/set-hostname"] hostname = "rugpi-template" -[parameters."core/apt-cleanup"] +[layers.customized.parameters."core/apt-cleanup"] autoremove = true -[parameters."core/ssh"] +[layers.customized.parameters."core/ssh"] root_authorized_keys = """ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC2tN+ZL8lGnx8rW+vm9ukX1uhKE7GREHitIVxIN3fVh406ksaZzY4FB7JqMqor4SBpR/Eigm6mSSE6KdwSYYC99hakLVvFUG6b6xvB7gOgre8M0JuL9XwBfaUfNln6Hl2Xirlml61JwOWa8Lh+T8mquw9OUK20tkXNPrigVKH+RMQA2V0AQrHnzo9GXMT5HEdAfaVVhL8S1inlKixiPbnvt+nWUSoKGLo+I08w5ZKI88C+saP6VqFiinp57uF0F3oqwcupZe0j6vxGuN5hFg8YGcICFnjXUAVjds8pfcf7aImvYZdp192jC9JAfzx3LzJZLn+kY9hIQkqip/tfTtp56eBb+j9i07PhrDsGiZVNOWf+YG3Cw5Ix6ltOL0dvF1/xFG7O+CGz62w8Y925ytuGgzBkVJ090eznnCjpw+lhNiNFmoqUjiJFjs/VSrqmC5bqdRrqF7YIs61uKl/EyAZaEoHZJazUFFauOjjPK0ksVbAAfqxG4nFmOG0URemSvNE= koehlma@Zaylee """ -[parameters."core/rugpi-ctrl"] -rugpi_admin = true # Enable Rugpi Admin. \ No newline at end of file +[layers.customized.parameters."core/rugpi-ctrl"] +rugpi_admin = true # Enable Rugpi Admin. + +[images.rpi4] +layer = "customized" +# Include the firmware update for Raspberry Pi 4 and CM4. +include_firmware = "pi4" + +[images.tryboot] +layer = "customized"