many changes
This commit is contained in:
35
hosts/nb/modules/puppeteer.nix
Normal file
35
hosts/nb/modules/puppeteer.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ config, pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
chromium
|
||||
nodejs
|
||||
# Graphics and font dependencies
|
||||
freetype
|
||||
fontconfig
|
||||
# Additional runtime dependencies
|
||||
alsa-lib
|
||||
atk
|
||||
cairo
|
||||
cups
|
||||
dbus
|
||||
expat
|
||||
gdk-pixbuf
|
||||
glib
|
||||
gtk3
|
||||
libdrm
|
||||
libxkbcommon
|
||||
mesa
|
||||
nspr
|
||||
nss
|
||||
pango
|
||||
xorg.libX11
|
||||
xorg.libXcomposite
|
||||
xorg.libXdamage
|
||||
xorg.libXext
|
||||
xorg.libXfixes
|
||||
xorg.libXrandr
|
||||
];
|
||||
|
||||
environment.variables = {
|
||||
PUPPETEER_EXECUTABLE_PATH = "${pkgs.chromium}/bin/chromium";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user