Mic92 / Mic92/flakelet

Add a comparison to Portable Services

Open
#1 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
38
Forks
1
Avg merge
1h 53m
Merged PRs (30d)
13

Description

Systemd has Portable Services and flakelet seems very similar in goals

I think the big difference is that on a system with a /nix/store we don't need RootImage=/RootDirectory= like with Portable Services

I think it would be useful to at least call it out in docs that this is very similar to them.

A few things that Portable Services do that we could also add to this:

  • Portable services link to /run/systemd/system.attached to distinguish them from "normal" system units
  • Portable services come with a --profile flag that allows you to conveniently provision drop-ins with a preset of systemd hardening options
  • Id adds a LogExtraFields=PORTABLE_ROOT=<path to portable service> so you can identify journal logs coming from a portable service

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing flakelet documentation alongside the linked systemd Portable Services documentation. Document the similarities and the /nix/store distinction; treat the attachment marker, profile, and LogExtraFields ideas as separate follow-up scope unless maintainers define them.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation, infrastructure
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.