diff options
author | Aidan Gauland <aidalgol+git@fastmail.net> | 2022-01-01 18:08:56 +1300 |
---|---|---|
committer | Aidan Gauland <aidalgol+git@fastmail.net> | 2022-01-01 18:13:21 +1300 |
commit | 82dd41e74d7a0a4daf729bad3e87c5417b079b2c (patch) | |
tree | 48be84db1ff8e89126c6dcf83490a00d9bc6b336 | |
parent | ef74e6aa01b205e927965cd441f9417cb6579a7c (diff) | |
download | nixpkgs-82dd41e74d7a0a4daf729bad3e87c5417b079b2c.tar nixpkgs-82dd41e74d7a0a4daf729bad3e87c5417b079b2c.tar.gz nixpkgs-82dd41e74d7a0a4daf729bad3e87c5417b079b2c.tar.bz2 nixpkgs-82dd41e74d7a0a4daf729bad3e87c5417b079b2c.tar.lz nixpkgs-82dd41e74d7a0a4daf729bad3e87c5417b079b2c.tar.xz nixpkgs-82dd41e74d7a0a4daf729bad3e87c5417b079b2c.tar.zst nixpkgs-82dd41e74d7a0a4daf729bad3e87c5417b079b2c.zip |
firejail: clarify wrappedBinaries option description
I had trouble getting programs.firejail.wrappedBinaries to have any effect on my system (#152852), because I did not realise that "put[ting] the actual application binary in the global environment" included adding the program package to environment.systemPackages, and I thought that the package must be present for this option to take effect. I have added a clarifying parenthetical statement explicitly mentioning environment.systemPackages in this caveat.
-rw-r--r-- | nixos/modules/programs/firejail.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nixos/modules/programs/firejail.nix b/nixos/modules/programs/firejail.nix index 41db4f0136e..8c10d7c4df3 100644 --- a/nixos/modules/programs/firejail.nix +++ b/nixos/modules/programs/firejail.nix @@ -74,8 +74,10 @@ in { </para> <para> You will get file collisions if you put the actual application binary in - the global environment and applications started via .desktop files are - not wrapped if they specify the absolute path to the binary. + the global environment (such as by adding the application package to + <code>environment.systemPackages</code>), and applications started via + .desktop files are not wrapped if they specify the absolute path to the + binary. ''; }; }; |