programs: loupe: sandbox with bwrap
This commit is contained in:
parent
97d50629e9
commit
5fbf66fb15
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user