aboutsummaryrefslogtreecommitdiffhomepage
path: root/options.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-25 01:52:49 +0900
committerOphestra <cat@gensokyo.uk>2025-03-25 01:52:49 +0900
commit5c4058d5ac7e7944973ca8216c258fc50c194e22 (patch)
treec06597903233c75eca5a1edae8b06d93f0f81774 /options.nix
parente732dca7629edb503df0c65df5f37a99600d567d (diff)
app: run in native sandbox
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'options.nix')
-rw-r--r--options.nix16
1 files changed, 7 insertions, 9 deletions
diff --git a/options.nix b/options.nix
index d9ccfb7a..9e367732 100644
--- a/options.nix
+++ b/options.nix
@@ -148,21 +148,19 @@ in
'';
};
- nix = mkEnableOption "nix daemon";
- userns = mkEnableOption "user namespace";
- mapRealUid = mkEnableOption "mapping to priv-user uid";
- dev = mkEnableOption "access to all devices";
+ devel = mkEnableOption "debugging-related kernel interfaces";
+ userns = mkEnableOption "user namespace creation";
tty = mkEnableOption "access to the controlling terminal";
- insecureWayland = mkEnableOption "direct access to the Wayland socket";
+ multiarch = mkEnableOption "multiarch kernel-level support";
net = mkEnableOption "network access" // {
default = true;
};
- compat = mkEnableOption "disable syscall filter extensions";
- devel = mkEnableOption "development kernel APIs";
- multiarch = mkEnableOption "multiarch kernel support";
- bluetooth = mkEnableOption "AF_BLUETOOTH socket operations";
+ nix = mkEnableOption "nix daemon access";
+ mapRealUid = mkEnableOption "mapping to priv-user uid";
+ dev = mkEnableOption "access to all devices";
+ insecureWayland = mkEnableOption "direct access to the Wayland socket";
gpu = mkOption {
type = nullOr bool;