feat: OBS Studio virtual camera

This commit is contained in:
DACHXY 2025-01-23 23:34:10 +08:00
parent d5fcc2cf5f
commit 24afd66d64
5 changed files with 20 additions and 27 deletions

View file

@ -6,15 +6,9 @@
}:
let
browser = "firefox-nightly";
noOffloadBrowser = "${browser} -P noOffload -no-remote";
iconPrefix = ".local/share/icons/hicolor/scalable/apps";
newWindow = "${browser} --new-window";
mkIconPkg = pkgs.callPackage ../../utils/make-icon.nix { };
googleMeetIcon = mkIconPkg {
name = "googleMeet";
url = "https://fonts.gstatic.com/s/i/productlogos/meet_2020q4/v1/web-512dp/logo_meet_2020q4_color_1x_web_512dp.png";
sha256 = "sha256-LL33KhQTv4VVdPRBm7nzsHtPoQ2ArHwjwVxq2p8VdM4=";
};
in
{
# Update icon cache
@ -50,10 +44,6 @@ in
'';
};
home.packages = [
googleMeetIcon
];
xdg.desktopEntries = {
notion = {
name = "Notion";
@ -67,17 +57,5 @@ in
"Utility"
];
};
googleMeet = {
name = "Google Meet";
genericName = "Community";
exec = "${noOffloadBrowser} https://meet.google.com";
comment = "Google Meet";
icon = "googleMeet";
terminal = false;
categories = [
"Network"
];
};
};
}

View file

@ -44,6 +44,8 @@ let
in
{
home.packages = with pkgs; [
mpvpaper # Video Wallpaper
yt-dlp
hyprpaper
hyprcursor
ewwWayland

View file

@ -28,6 +28,7 @@ in
obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-backgroundremoval
obs-pipewire-audio-capture
];