nixos/firejail: add example for wrappedBinaries
This commit is contained in:
parent
6ec8687047
commit
96e36bf1ba
@ -25,8 +25,14 @@ in {
|
|||||||
enable = mkEnableOption "firejail";
|
enable = mkEnableOption "firejail";
|
||||||
|
|
||||||
wrappedBinaries = mkOption {
|
wrappedBinaries = mkOption {
|
||||||
type = types.attrs;
|
type = types.attrsOf types.path;
|
||||||
default = {};
|
default = {};
|
||||||
|
example = literalExample ''
|
||||||
|
{
|
||||||
|
firefox = "''${lib.getBin pkgs.firefox}/bin/firefox";
|
||||||
|
mpv = "''${lib.getBin pkgs.mpv}/bin/mpv";
|
||||||
|
}
|
||||||
|
'';
|
||||||
description = ''
|
description = ''
|
||||||
Wrap the binaries in firejail and place them in the global path.
|
Wrap the binaries in firejail and place them in the global path.
|
||||||
</para>
|
</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user