From 07194c74cb464cb073cabda33779c1782eaf0d74 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 26 Aug 2025 02:23:59 +0900 Subject: [PATCH] release: 0.2.0 Signed-off-by: Ophestra --- options.md | 459 ++++++++++++++++++---------------------------------- package.nix | 2 +- 2 files changed, 161 insertions(+), 300 deletions(-) diff --git a/options.md b/options.md index 7d6fc26..c2fd747 100644 --- a/options.md +++ b/options.md @@ -35,7 +35,7 @@ package *Default:* -` ` +` ` @@ -55,6 +55,78 @@ attribute set of (submodule) +## environment\.hakurei\.apps\.\\.enablements\.dbus + + + +Whether to proxy D-Bus\. + + + +*Type:* +null or boolean + + + +*Default:* +` true ` + + + +## environment\.hakurei\.apps\.\\.enablements\.pulse + + + +Whether to share the PulseAudio socket and cookie\. + + + +*Type:* +null or boolean + + + +*Default:* +` true ` + + + +## environment\.hakurei\.apps\.\\.enablements\.wayland + + + +Whether to share the Wayland socket\. + + + +*Type:* +null or boolean + + + +*Default:* +` true ` + + + +## environment\.hakurei\.apps\.\\.enablements\.x11 + + + +Whether to share the X11 socket and allow connection\. + + + +*Type:* +null or boolean + + + +*Default:* +` false ` + + + ## environment\.hakurei\.apps\.\\.packages @@ -92,78 +164,6 @@ null or (list of string) -## environment\.hakurei\.apps\.\\.capability\.dbus - - - -Whether to proxy D-Bus\. - - - -*Type:* -boolean - - - -*Default:* -` true ` - - - -## environment\.hakurei\.apps\.\\.capability\.pulse - - - -Whether to share the PulseAudio socket and cookie\. - - - -*Type:* -boolean - - - -*Default:* -` true ` - - - -## environment\.hakurei\.apps\.\\.capability\.wayland - - - -Whether to share the Wayland socket\. - - - -*Type:* -boolean - - - -*Default:* -` true ` - - - -## environment\.hakurei\.apps\.\\.capability\.x11 - - - -Whether to share the X11 socket and allow connection\. - - - -*Type:* -boolean - - - -*Default:* -` false ` - - - ## environment\.hakurei\.apps\.\\.command @@ -313,7 +313,7 @@ Extra paths to make available to the container\. *Type:* -list of (submodule) +anything @@ -322,106 +322,6 @@ list of (submodule) -## environment\.hakurei\.apps\.\\.extraPaths\.\*\.dev - - - -Whether to enable use of device files\. - - - -*Type:* -boolean - - - -*Default:* -` false ` - - - -*Example:* -` true ` - - - -## environment\.hakurei\.apps\.\\.extraPaths\.\*\.dst - - - -Mount point in container, same as src if null\. - - - -*Type:* -null or string - - - -*Default:* -` null ` - - - -## environment\.hakurei\.apps\.\\.extraPaths\.\*\.require - - - -Whether to enable start failure if the bind mount cannot be established for any reason\. - - - -*Type:* -boolean - - - -*Default:* -` false ` - - - -*Example:* -` true ` - - - -## environment\.hakurei\.apps\.\\.extraPaths\.\*\.src - - - -Host filesystem path to make available to the container\. - - - -*Type:* -string - - - -## environment\.hakurei\.apps\.\\.extraPaths\.\*\.write - - - -Whether to enable mounting path as writable\. - - - -*Type:* -boolean - - - -*Default:* -` false ` - - - -*Example:* -` true ` - - - ## environment\.hakurei\.apps\.\\.gpu @@ -459,6 +359,52 @@ list of string +## environment\.hakurei\.apps\.\\.hostAbstract + + + +Whether to enable share abstract unix socket scope\. + + + +*Type:* +boolean + + + +*Default:* +` false ` + + + +*Example:* +` true ` + + + +## environment\.hakurei\.apps\.\\.hostNet + + + +Whether to enable share host net namespace\. + + + +*Type:* +boolean + + + +*Default:* +` true ` + + + +*Example:* +` true ` + + + ## environment\.hakurei\.apps\.\\.identity @@ -554,29 +500,6 @@ string -## environment\.hakurei\.apps\.\\.net - - - -Whether to enable network access\. - - - -*Type:* -boolean - - - -*Default:* -` true ` - - - -*Example:* -` true ` - - - ## environment\.hakurei\.apps\.\\.nix @@ -771,6 +694,26 @@ boolean +## environment\.hakurei\.apps\.\\.wait_delay + + + +Duration to wait for after interrupting a container’s initial process in nanoseconds\. +A negative value causes the container to be terminated immediately on cancellation\. +Setting this to null defaults to five seconds\. + + + +*Type:* +null or signed integer + + + +*Default:* +` null ` + + + ## environment\.hakurei\.commonPaths @@ -780,7 +723,7 @@ Common extra paths to make available to the container\. *Type:* -list of (submodule) +anything @@ -789,106 +732,6 @@ list of (submodule) -## environment\.hakurei\.commonPaths\.\*\.dev - - - -Whether to enable use of device files\. - - - -*Type:* -boolean - - - -*Default:* -` false ` - - - -*Example:* -` true ` - - - -## environment\.hakurei\.commonPaths\.\*\.dst - - - -Mount point in container, same as src if null\. - - - -*Type:* -null or string - - - -*Default:* -` null ` - - - -## environment\.hakurei\.commonPaths\.\*\.require - - - -Whether to enable start failure if the bind mount cannot be established for any reason\. - - - -*Type:* -boolean - - - -*Default:* -` false ` - - - -*Example:* -` true ` - - - -## environment\.hakurei\.commonPaths\.\*\.src - - - -Host filesystem path to make available to the container\. - - - -*Type:* -string - - - -## environment\.hakurei\.commonPaths\.\*\.write - - - -Whether to enable mounting path as writable\. - - - -*Type:* -boolean - - - -*Default:* -` false ` - - - -*Example:* -` true ` - - - ## environment\.hakurei\.extraHomeConfig @@ -916,7 +759,25 @@ package *Default:* -` ` +` ` + + + +## environment\.hakurei\.shell + + + +Absolute path to preferred shell\. + + + +*Type:* +string + + + +*Default:* +` "/run/current-system/sw/bin/bash" ` diff --git a/package.nix b/package.nix index 08cb497..1f03fac 100644 --- a/package.nix +++ b/package.nix @@ -31,7 +31,7 @@ buildGoModule rec { pname = "hakurei"; - version = "0.1.3"; + version = "0.2.0"; srcFiltered = builtins.path { name = "${pname}-src";