fix icons for sandboxed stuff
This commit is contained in:
parent
4f2848ca39
commit
d228802505
11
common.nix
11
common.nix
|
@ -204,6 +204,7 @@ in
|
|||
aspellDicts.en
|
||||
borgbackup
|
||||
btop
|
||||
chromium
|
||||
clamav
|
||||
clinfo
|
||||
config.boot.kernelPackages.perf
|
||||
|
@ -234,9 +235,10 @@ in
|
|||
zsh-powerlevel10k
|
||||
];
|
||||
|
||||
# we want sandboxed browsers
|
||||
programs.firejail.enable = true;
|
||||
programs.firejail.wrappedBinaries = {
|
||||
# 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";
|
||||
|
@ -246,7 +248,10 @@ in
|
|||
profile = "${pkgs.firejail}/etc/firejail/firefox.profile";
|
||||
};
|
||||
};
|
||||
};
|
||||
# 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;
|
||||
|
||||
# allow keyboard configure tools to work
|
||||
|
|
Loading…
Reference in a new issue