nix: expose compat flag in nixos module
Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
37780456a7
commit
016da20443
@ -118,7 +118,7 @@ in
|
|||||||
env
|
env
|
||||||
;
|
;
|
||||||
syscall = {
|
syscall = {
|
||||||
inherit (app) multiarch bluetooth;
|
inherit (app) compat multiarch bluetooth;
|
||||||
deny_devel = !app.devel;
|
deny_devel = !app.devel;
|
||||||
};
|
};
|
||||||
map_real_uid = app.mapRealUid;
|
map_real_uid = app.mapRealUid;
|
||||||
|
@ -151,6 +151,7 @@ in
|
|||||||
default = true;
|
default = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
compat = mkEnableOption "disable syscall filter extensions";
|
||||||
devel = mkEnableOption "development kernel APIs";
|
devel = mkEnableOption "development kernel APIs";
|
||||||
multiarch = mkEnableOption "multiarch kernel support";
|
multiarch = mkEnableOption "multiarch kernel support";
|
||||||
bluetooth = mkEnableOption "AF_BLUETOOTH socket operations";
|
bluetooth = mkEnableOption "AF_BLUETOOTH socket operations";
|
||||||
|
Loading…
Reference in New Issue
Block a user