forked from security/hakurei
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 <cat@gensokyo.uk>
This commit is contained in:
10
options.nix
10
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.
|
||||
|
||||
Reference in New Issue
Block a user