From 18e18d85bf4f34aff38878be75dd83703d376bb2 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sat, 21 Oct 2023 19:22:49 +0200 Subject: [PATCH] firejail signal-desktop --- common.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/common.nix b/common.nix index c8d5dde..f1a5b2a 100644 --- a/common.nix +++ b/common.nix @@ -238,19 +238,29 @@ in # run some stuff in a sandbox programs.firejail = { enable = true; + wrappedBinaries = { chromium = { executable = "${pkgs.lib.getBin pkgs.chromium}/bin/chromium"; profile = "${pkgs.firejail}/etc/firejail/chromium.profile"; }; + firefox = { executable = "${pkgs.lib.getBin pkgs.firefox}/bin/firefox"; profile = "${pkgs.firejail}/etc/firejail/firefox.profile"; }; + + signal-desktop = { + executable = "${pkgs.signal-desktop}/bin/signal-desktop"; + profile = "${pkgs.firejail}/etc/firejail/signal-desktop.profile"; + desktop = "${pkgs.signal-desktop}/share/applications/signal-desktop.desktop"; + }; }; }; + # chromium needs programs.firefox.enable here and systemPackages entry to have icon and work programs.chromium.enable = true; + # firefox needs programs.firefox.enable here but no systemPackages entry to have icon and work programs.firefox.enable = true; @@ -447,7 +457,6 @@ in okular pulseaudio qmk - signal-desktop tcl texlive.combined.scheme-small tigervnc