mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-12-01 18:33:56 +01:00
24 lines
502 B
Nix
24 lines
502 B
Nix
{
|
|
load,
|
|
mkAppPolicy,
|
|
...
|
|
}:
|
|
let
|
|
app = load "bambu-studio";
|
|
in
|
|
mkAppPolicy "bambu-studio" {
|
|
network = "pasta";
|
|
media = false;
|
|
pulse = true;
|
|
x11 = true;
|
|
notifications = true;
|
|
extraChecks = {
|
|
gdkX11 = app.bubblewrap.env.GDK_BACKEND == "x11";
|
|
fileChooser = app.portalGroups.fileChooser;
|
|
openUri = app.portalGroups.openUri;
|
|
inputMethod = app.portalGroups.inputMethod;
|
|
webkit = app.portalGroups.webkit;
|
|
accessibility = app.desktopIntegration.accessibility;
|
|
};
|
|
}
|