programs: loupe: sandbox with bwrap
This commit is contained in:
@@ -1,6 +1,20 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
sane.programs.loupe = {
|
||||
sandbox.method = "bwrap";
|
||||
sandbox.wrapperType = "wrappedDerivation";
|
||||
sandbox.extraHomePaths = [
|
||||
"Pictures"
|
||||
"Videos"
|
||||
"dev"
|
||||
"records"
|
||||
"ref"
|
||||
"tmp"
|
||||
];
|
||||
sandbox.extraPaths = [
|
||||
"/mnt/servo/media/Pictures"
|
||||
"/mnt/servo/media/Videos"
|
||||
];
|
||||
mime.associations = {
|
||||
"image/gif" = "org.gnome.Loupe.desktop";
|
||||
"image/heif" = "org.gnome.Loupe.desktop"; # apple codec
|
||||
|
Reference in New Issue
Block a user