Skip to content

Instantly share code, notes, and snippets.

View travier's full-sized avatar

Timothée Ravier travier

View GitHub Profile
@travier
travier / shutdown.bu
Created February 8, 2024 17:05
Butane immediate shutdown
variant: fcos
version: 1.5.0
systemd:
units:
- name: shutdown.timer
enabled: true
contents: |
[Unit]
Description=Immediately shutdown after 1m
[Timer]

How to make a new rpm-ostree desktop variant in Fedora?

So you want to make a new rpm-ostree desktop variant in Fedora to join Silverblue, Kinoite and Sericea? Here are the steps that you should follow.

First, you should figure out what packages should be installed in your image. To do that, you can start from the base container image (https://quay.io/repository/fedora-ostree-desktops/base) and add packages from the comps group corresponding to your desktop in Fedora : https://pagure.io/fedora-comps

At this point, you should consider which apps are going to be shipped by default, included in the image, and which ones are going to be installed by default as Flatpaks.

Once you've got something working, reproduce that in https://pagure.io/workstation-ostree-config using the comps group and the filter and sync script. Look at other variants for example.

@travier
travier / github_pages_justfile
Created July 20, 2021 14:31
Justfile to test GitHub Pages changes locally (see https://github.com/casey/just for Just & Justfile syntax)
export JEKYLL_ENV:="production"
all: serve
# Serve on localhost:4000
serve:
bundle exec jekyll serve --livereload --strict_front_matter
# Install vendored gems
install: