3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #81402 from mmilata/firejail-example

nixos/firejail: add example for wrappedBinaries
This commit is contained in:
Graham Christensen 2020-03-11 20:28:35 -04:00 committed by GitHub
commit 10f625b3d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,8 +25,14 @@ in {
enable = mkEnableOption "firejail";
wrappedBinaries = mkOption {
type = types.attrs;
type = types.attrsOf types.path;
default = {};
example = literalExample ''
{
firefox = "''${lib.getBin pkgs.firefox}/bin/firefox";
mpv = "''${lib.getBin pkgs.mpv}/bin/mpv";
}
'';
description = ''
Wrap the binaries in firejail and place them in the global path.
</para>