From 9a30f53ffe466793c9b3019fcaf65cd2d54f44ad Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Tue, 1 Mar 2022 12:58:04 +0100 Subject: [PATCH] nixos/firejail: Fix order of extrsArgs before profile wrappedBinaries option --- nixos/modules/programs/firejail.nix | 4 ++-- 1 file 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 ''