mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/containers: add catatonit / init_path
https://github.com/containers/common/blob/master/docs/containers.conf.5.md - Also drop unneeded true from ociSeccompBpfHook
This commit is contained in:
parent
be38dc44f3
commit
4b11122749
1 changed files with 2 additions and 1 deletions
|
@ -118,8 +118,9 @@ in
|
||||||
[network]
|
[network]
|
||||||
cni_plugin_dirs = ["${pkgs.cni-plugins}/bin/"]
|
cni_plugin_dirs = ["${pkgs.cni-plugins}/bin/"]
|
||||||
|
|
||||||
${lib.optionalString (cfg.ociSeccompBpfHook.enable == true) ''
|
|
||||||
[engine]
|
[engine]
|
||||||
|
init_path = "${pkgs.catatonit}/bin/catatonit"
|
||||||
|
${lib.optionalString (cfg.ociSeccompBpfHook.enable) ''
|
||||||
hooks_dir = [
|
hooks_dir = [
|
||||||
"${config.boot.kernelPackages.oci-seccomp-bpf-hook}",
|
"${config.boot.kernelPackages.oci-seccomp-bpf-hook}",
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue