forked from colin/nix-files
programs: messengers (fractal, signal, dino, tuba): add media libraries to the sandbox
This commit is contained in:
parent
dcc2eb265d
commit
b2fcf6fdfd
|
@ -52,6 +52,14 @@ in
|
|||
sandbox.whitelistDbus = [ "user" ]; # notifications
|
||||
sandbox.whitelistDri = true; #< not strictly necessary, but we need all the perf we can get on moby
|
||||
sandbox.whitelistWayland = true;
|
||||
sandbox.extraHomePaths = [
|
||||
"Music"
|
||||
"Pictures"
|
||||
"Pictures/servo-macros"
|
||||
"Videos"
|
||||
"Videos/servo"
|
||||
"tmp"
|
||||
];
|
||||
|
||||
persist.byStore.private = [ ".local/share/dino" ];
|
||||
|
||||
|
|
|
@ -14,6 +14,14 @@
|
|||
sandbox.whitelistDbus = [ "user" ]; # notifications
|
||||
sandbox.whitelistDri = true;
|
||||
sandbox.whitelistWayland = true;
|
||||
sandbox.extraHomePaths = [
|
||||
"Music"
|
||||
"Pictures"
|
||||
"Pictures/servo-macros"
|
||||
"Videos"
|
||||
"Videos/servo"
|
||||
"tmp"
|
||||
];
|
||||
|
||||
packageUnwrapped = pkgs.element-desktop.override {
|
||||
# use pre-build electron because otherwise it takes 4 hrs to build from source.
|
||||
|
|
|
@ -34,6 +34,14 @@ in
|
|||
sandbox.whitelistDbus = [ "user" ]; # notifications
|
||||
sandbox.whitelistDri = true; # otherwise video playback buuuuurns CPU
|
||||
sandbox.whitelistWayland = true;
|
||||
sandbox.extraHomePaths = [
|
||||
"Music"
|
||||
"Pictures"
|
||||
"Pictures/servo-macros"
|
||||
"Videos"
|
||||
"Videos/servo"
|
||||
"tmp"
|
||||
];
|
||||
|
||||
configOption = with lib; mkOption {
|
||||
default = {};
|
||||
|
|
|
@ -38,6 +38,14 @@ in
|
|||
sandbox.whitelistDbus = [ "user" ]; # notifications
|
||||
sandbox.whitelistDri = true;
|
||||
sandbox.whitelistWayland = true;
|
||||
sandbox.extraHomePaths = [
|
||||
"Music"
|
||||
"Pictures"
|
||||
"Pictures/servo-macros"
|
||||
"Videos"
|
||||
"Videos/servo"
|
||||
"tmp"
|
||||
];
|
||||
|
||||
persist.byStore.private = [
|
||||
".cache/gtkcord4"
|
||||
|
|
|
@ -27,6 +27,14 @@ in
|
|||
sandbox.net = "clearnet";
|
||||
sandbox.whitelistAudio = true;
|
||||
sandbox.whitelistWayland = true;
|
||||
sandbox.extraHomePaths = [
|
||||
"Music"
|
||||
"Pictures"
|
||||
"Pictures/servo-macros"
|
||||
"Videos"
|
||||
"Videos/servo"
|
||||
"tmp"
|
||||
];
|
||||
|
||||
# creds, media
|
||||
persist.byStore.private = [
|
||||
|
|
|
@ -7,6 +7,15 @@
|
|||
sandbox.whitelistAudio = true;
|
||||
sandbox.whitelistDbus = [ "user" ]; # notifications
|
||||
sandbox.whitelistWayland = true;
|
||||
sandbox.extraHomePaths = [
|
||||
"Music"
|
||||
"Pictures"
|
||||
"Pictures/servo-macros"
|
||||
"Videos"
|
||||
"Videos/servo"
|
||||
"tmp"
|
||||
];
|
||||
|
||||
suggestedPrograms = [ "gnome-keyring" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user