grimshot: move to own file

This commit is contained in:
Colin 2024-02-27 14:54:53 +00:00
parent 50aa16df81
commit 5c7eceeb55
3 changed files with 11 additions and 6 deletions

View File

@ -861,12 +861,6 @@ in
superTux.sandbox.whitelistWayland = true;
superTux.persist.byStore.plaintext = [ ".local/share/supertux2" ];
"sway-contrib.grimshot".sandbox.method = "bwrap";
"sway-contrib.grimshot".sandbox.wrapperType = "wrappedDerivation";
"sway-contrib.grimshot".sandbox.whitelistWayland = true;
"sway-contrib.grimshot".sandbox.whitelistDbus = [ "user" ];
"sway-contrib.grimshot".sandbox.autodetectCliPaths = "existingFileOrParent";
tcpdump.sandbox.method = "landlock";
tcpdump.sandbox.wrapperType = "wrappedDerivation";
tcpdump.sandbox.net = "all";

View File

@ -41,6 +41,7 @@
./gnome-weather.nix
./go2tv.nix
./gpodder.nix
./grimshot.nix
./gthumb.nix
./gtkcord4.nix
./handbrake.nix

View File

@ -0,0 +1,10 @@
{ ... }:
{
sane.programs."sway-contrib.grimshot" = {
sandbox.method = "bwrap";
sandbox.wrapperType = "wrappedDerivation";
sandbox.whitelistWayland = true;
sandbox.whitelistDbus = [ "user" ];
sandbox.autodetectCliPaths = "existingFileOrParent";
};
}