From 016da204435b19813862ae0498bf2058c6024eda Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 25 Jan 2025 12:42:48 +0900 Subject: [PATCH] nix: expose compat flag in nixos module Signed-off-by: Ophestra --- nixos.nix | 2 +- options.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos.nix b/nixos.nix index fa5ac98..02d94f9 100644 --- a/nixos.nix +++ b/nixos.nix @@ -118,7 +118,7 @@ in env ; syscall = { - inherit (app) multiarch bluetooth; + inherit (app) compat multiarch bluetooth; deny_devel = !app.devel; }; map_real_uid = app.mapRealUid; diff --git a/options.nix b/options.nix index e2c44cc..7f44ef4 100644 --- a/options.nix +++ b/options.nix @@ -151,6 +151,7 @@ in default = true; }; + compat = mkEnableOption "disable syscall filter extensions"; devel = mkEnableOption "development kernel APIs"; multiarch = mkEnableOption "multiarch kernel support"; bluetooth = mkEnableOption "AF_BLUETOOTH socket operations";