firejail signal-desktop

This commit is contained in:
Christoph Cullmann 2023-10-21 19:22:49 +02:00
parent d228802505
commit 18e18d85bf

View file

@ -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