From 4ffeec3004607b76f73e504da220a1490c598348 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 15 Aug 2025 04:57:37 +0900 Subject: hst/enablement: editor friendly enablement adaptor Having the bit field value here (in decimal, no less) is unfriendly to text editors. Use a bunch of booleans here to improve ease of use. Signed-off-by: Ophestra --- options.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'options.nix') diff --git a/options.nix b/options.nix index bd45b7b5..a51609c9 100644 --- a/options.nix +++ b/options.nix @@ -209,9 +209,9 @@ in ''; }; - capability = { + enablements = { wayland = mkOption { - type = bool; + type = nullOr bool; default = true; description = '' Whether to share the Wayland socket. @@ -219,7 +219,7 @@ in }; x11 = mkOption { - type = bool; + type = nullOr bool; default = false; description = '' Whether to share the X11 socket and allow connection. @@ -227,7 +227,7 @@ in }; dbus = mkOption { - type = bool; + type = nullOr bool; default = true; description = '' Whether to proxy D-Bus. @@ -235,7 +235,7 @@ in }; pulse = mkOption { - type = bool; + type = nullOr bool; default = true; description = '' Whether to share the PulseAudio socket and cookie. -- cgit v1.3.1