Ophestra 725ae7d64d
All checks were successful
Test / ShareFS (push) Successful in 2m18s
Test / Create distribution (push) Successful in 2m43s
Test / Sandbox (push) Successful in 3m21s
Test / Sandbox (race detector) (push) Successful in 4m11s
Test / Hakurei (push) Successful in 4m26s
Test / Hakurei (race detector) (push) Successful in 5m14s
Test / Flake checks (push) Successful in 1m54s
nix: remove all explicit timeouts
These were useful during development because timing out is often the only indication of failure due to the terrible design of nixos vm test harness. This has become a nuisance however especially when the system is under load, so remove explicit values and fall back to the ludicrously high default.

Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-23 13:07:22 +09:00
2026-03-02 13:42:49 +09:00
2026-04-10 22:11:53 +09:00
2025-10-13 04:38:48 +09:00
2026-03-17 15:56:36 +09:00
2026-04-10 20:47:30 +09:00
2026-04-07 14:49:20 +09:00
2026-04-23 13:07:22 +09:00
2026-03-30 18:24:53 +09:00
2026-04-05 23:58:08 +09:00
2026-04-05 23:58:08 +09:00
2026-03-10 03:29:19 +09:00
2026-03-10 03:29:19 +09:00
2025-07-02 20:42:51 +09:00
2026-04-11 23:28:18 +09:00
2026-04-11 10:49:43 +09:00
2026-03-12 02:15:14 +09:00
2026-04-11 10:49:43 +09:00
2026-03-15 20:12:51 +09:00

Yukari

Go Reference Gitea Workflow Status
Release Go Report Card Website

Hakurei is a tool for running sandboxed desktop applications as dedicated subordinate users on the Linux kernel. It implements the application container of planterette (WIP), a self-contained Android-like package manager with modern security features.

Interaction with hakurei happens entirely through structures described by package hst. No native API is available due to internal details of uid isolation.

Notable Packages

Package container is general purpose container tooling. It is used by the hakurei shim process running as the target subordinate user to set up the application container. It has a single dependency, libseccomp, to create BPF programs for the system call filter.

Package internal/pkg provides infrastructure for hermetic builds. This replaces the legacy nix-based testing framework and serves as the build system of Rosa OS, currently developed under package internal/rosa.

Dependencies

container depends on:

cmd/hakurei depends on:

cmd/sharefs depends on:

  • fuse to implement the filesystem.

New dependencies will generally not be added. Patches adding new dependencies are very likely to be rejected.

NixOS Module (deprecated)

The NixOS module is in maintenance mode and will be removed once planterette is feature-complete. Full module documentation can be found here.

Description
Low-level userspace tooling for Rosa OS.
https://hakurei.app/
Readme MIT 6.6 MiB
v0.4.0 Latest
2026-04-11 10:49:43 +09:00
Languages
Go 92.1%
Nix 5.3%
C 1.7%
Python 0.8%