diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-01-23 17:24:42 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-01-23 17:24:42 +0900 |
| commit | 8a00a83c719fc2c0e3ccb2f20aee15a8d72836ef (patch) | |
| tree | 7e4595c4cce1dc90aec3d241a2e1c2a25b0aa4ba /options.nix | |
| parent | 134247b57d2ff93c7b70815158474d94bed1074b (diff) | |
nix: expose syscall filter policy
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'options.nix')
| -rw-r--r-- | options.nix | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/options.nix b/options.nix index 578c7fd3..e2c44cc6 100644 --- a/options.nix +++ b/options.nix @@ -141,16 +141,20 @@ in ''; }; - nix = mkEnableOption "nix daemon access within the sandbox"; - userns = mkEnableOption "userns within the sandbox"; - mapRealUid = mkEnableOption "mapping to fortify's real UID within the sandbox"; - dev = mkEnableOption "access to all devices within the sandbox"; - tty = mkEnableOption "allow access to the controlling terminal"; + nix = mkEnableOption "nix daemon"; + userns = mkEnableOption "user namespace"; + mapRealUid = mkEnableOption "mapping to priv-user uid"; + dev = mkEnableOption "access to all devices"; + tty = mkEnableOption "access to the controlling terminal"; - net = mkEnableOption "network access within the sandbox" // { + net = mkEnableOption "network access" // { default = true; }; + devel = mkEnableOption "development kernel APIs"; + multiarch = mkEnableOption "multiarch kernel support"; + bluetooth = mkEnableOption "AF_BLUETOOTH socket operations"; + gpu = mkOption { type = nullOr bool; default = null; |
