Firejail: Difference between revisions

imported>Kugland
mNo edit summary
imported>Kugland
mNo edit summary
Line 169: Line 169:
     let
     let
       packages = with pkgs; [
       packages = with pkgs; [
        electrum
         firefox
         firefox
        mpv
        gajim
        tor-browser
         vlc
         vlc
       ];
       ];
Line 180: Line 184:
       }
       }
       ''
       ''
        mkdir -p "$out/share/icons"
         ${lib.concatLines (map (pkg: ''
         ${lib.concatLines (map (pkg: ''
           tar -C "${pkg}" -c share/icons/hicolor -h --mode 0755 -f - | tar -C "$out" -xf -
           tar -C "${pkg}" -c share/icons -h --mode 0755 -f - | tar -C "$out" -xf -
         '') packages)}
         '') packages)}
         find "$out/" -type f -print0 | xargs -0 chmod 0444
         find "$out/" -type f -print0 | xargs -0 chmod 0444