firejail signal-desktop
This commit is contained in:
parent
d228802505
commit
18e18d85bf
11
common.nix
11
common.nix
|
@ -238,19 +238,29 @@ in
|
||||||
# run some stuff in a sandbox
|
# run some stuff in a sandbox
|
||||||
programs.firejail = {
|
programs.firejail = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
wrappedBinaries = {
|
wrappedBinaries = {
|
||||||
chromium = {
|
chromium = {
|
||||||
executable = "${pkgs.lib.getBin pkgs.chromium}/bin/chromium";
|
executable = "${pkgs.lib.getBin pkgs.chromium}/bin/chromium";
|
||||||
profile = "${pkgs.firejail}/etc/firejail/chromium.profile";
|
profile = "${pkgs.firejail}/etc/firejail/chromium.profile";
|
||||||
};
|
};
|
||||||
|
|
||||||
firefox = {
|
firefox = {
|
||||||
executable = "${pkgs.lib.getBin pkgs.firefox}/bin/firefox";
|
executable = "${pkgs.lib.getBin pkgs.firefox}/bin/firefox";
|
||||||
profile = "${pkgs.firejail}/etc/firejail/firefox.profile";
|
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
|
# chromium needs programs.firefox.enable here and systemPackages entry to have icon and work
|
||||||
programs.chromium.enable = true;
|
programs.chromium.enable = true;
|
||||||
|
|
||||||
# firefox needs programs.firefox.enable here but no systemPackages entry to have icon and work
|
# firefox needs programs.firefox.enable here but no systemPackages entry to have icon and work
|
||||||
programs.firefox.enable = true;
|
programs.firefox.enable = true;
|
||||||
|
|
||||||
|
@ -447,7 +457,6 @@ in
|
||||||
okular
|
okular
|
||||||
pulseaudio
|
pulseaudio
|
||||||
qmk
|
qmk
|
||||||
signal-desktop
|
|
||||||
tcl
|
tcl
|
||||||
texlive.combined.scheme-small
|
texlive.combined.scheme-small
|
||||||
tigervnc
|
tigervnc
|
||||||
|
|
Loading…
Reference in a new issue