We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 287a1af commit 5cc4d02Copy full SHA for 5cc4d02
home-manager/apps/firefox.nix
@@ -1,15 +1,26 @@
1
-{ pkgs, pkgs-unstable, ... }:
+{
2
+ pkgs,
3
+ pkgs-unstable,
4
+ config,
5
+ ...
6
+}:
7
8
let
9
+ inherit (config) sops;
10
+
11
firefox-wrapper = pkgs.writeShellScriptBin "firefox-firejail" ''
12
exec firejail --ignore=private-bin \
13
--env=XDG_DATA_DIRS="$XDG_DATA_DIRS" \
14
--env=GTK_THEME=Adwaita:dark \
15
--env=XCURSOR_PATH="$XCURSOR_PATH" \
16
--env=NIXOS_OZONE_WL=1 \
- --blacklist="$HOME/.ssh" \
17
--noblacklist=/nix/store \
18
+ --blacklist="$HOME/.ssh" \
19
+ --blacklist=sops \
20
--read-only=/nix/store \
21
+ --blacklist=${pkgs-unstable.sops}/bin/sops \
22
+ --blacklist=${pkgs.sops}/bin/sops \
23
+ --blacklist=${sops.age.keyFile} \
24
"$(readlink -f $(which firefox))" \
25
--no-remote "$@"
26
'';
0 commit comments