This commit is contained in:
Tristan 2023-05-03 16:11:50 +01:00
parent 3c20b72515
commit 5140dec6bc
6 changed files with 64 additions and 26 deletions

8
lib/mkapp.nix Normal file
View file

@ -0,0 +1,8 @@
name: { pkgs, app-id, browser, desktopName, ... }:
pkgs.makeDesktopItem {
name = "${name}";
desktopName = "${desktopName}";
exec = "${browser} --app-id=${app-id} --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebRTCPipeWireCapturer";
icon = "brave-${app-id}-Profile_2";
}