summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonas Heinrich <onny@project-insanity.org>2022-03-01 12:58:04 +0100
committerYt <raphael@megzari.com>2022-03-03 21:35:37 -0500
commit9a30f53ffe466793c9b3019fcaf65cd2d54f44ad (patch)
tree74c96b3291ba9d72e3b070d5d2c520b0ec247ef1
parentc9302fdce0de052c1efca13522400bb6c359f261 (diff)
downloadnixpkgs-9a30f53ffe466793c9b3019fcaf65cd2d54f44ad.tar
nixpkgs-9a30f53ffe466793c9b3019fcaf65cd2d54f44ad.tar.gz
nixpkgs-9a30f53ffe466793c9b3019fcaf65cd2d54f44ad.tar.bz2
nixpkgs-9a30f53ffe466793c9b3019fcaf65cd2d54f44ad.tar.lz
nixpkgs-9a30f53ffe466793c9b3019fcaf65cd2d54f44ad.tar.xz
nixpkgs-9a30f53ffe466793c9b3019fcaf65cd2d54f44ad.tar.zst
nixpkgs-9a30f53ffe466793c9b3019fcaf65cd2d54f44ad.zip
nixos/firejail: Fix order of extrsArgs before profile wrappedBinaries option
-rw-r--r--nixos/modules/programs/firejail.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/programs/firejail.nix b/nixos/modules/programs/firejail.nix
index 8c10d7c4df3..76b42168c19 100644
--- a/nixos/modules/programs/firejail.nix
+++ b/nixos/modules/programs/firejail.nix
@@ -17,8 +17,8 @@ let
         then value
         else { executable = value; profile = null; extraArgs = []; };
         args = lib.escapeShellArgs (
-          (optional (opts.profile != null) "--profile=${toString opts.profile}")
-          ++ opts.extraArgs
+          opts.extraArgs
+          ++ (optional (opts.profile != null) "--profile=${toString opts.profile}")
           );
       in
       ''