try to firejail stuff

This commit is contained in:
Christoph Cullmann 2023-01-23 00:45:35 +01:00
parent 92578db256
commit 00cce2a533

View file

@ -208,8 +208,10 @@ in
aspellDicts.en aspellDicts.en
borgbackup borgbackup
bpytop bpytop
chromium
clamav clamav
evtest # needs root permissions to run evtest # needs root permissions to run
firefox
gitFull gitFull
hunspellDicts.de_DE hunspellDicts.de_DE
hunspellDicts.en_US hunspellDicts.en_US
@ -341,6 +343,17 @@ in
Defaults lecture = never Defaults lecture = never
''; '';
# enable firejail
programs.firejail.enable = true;
# firejail some stuff globally
programs.firejail.wrappedBinaries = {
firefox = {
executable = "${pkgs.lib.getBin pkgs.firefox}/bin/firefox";
profile = "${pkgs.firejail}/etc/firejail/firefox.profile";
};
};
### ###
### per user configuration below ### per user configuration below
### ###
@ -408,13 +421,11 @@ in
home.packages = with pkgs; [ home.packages = with pkgs; [
alacritty alacritty
ark ark
chromium
emacs emacs
falkon falkon
fdupes fdupes
ffmpeg ffmpeg
file file
firefox
#gimp-with-plugins #gimp-with-plugins
gnome.gedit gnome.gedit
go go