mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 19:12:11 +02:00
15 lines
454 B
Nix
15 lines
454 B
Nix
# Zen is a minimalistic web browser.
|
|
{ pkgs, inputs, ... }:
|
|
let
|
|
# Create a wrapper script for zen-browser with Wayland enabled
|
|
zenWithWayland = pkgs.symlinkJoin {
|
|
name = "zen-browser-wayland";
|
|
paths = [ inputs.zen-browser.packages."${pkgs.system}".default ];
|
|
buildInputs = [ pkgs.makeWrapper ];
|
|
postBuild = ''
|
|
wrapProgram $out/bin/zen \
|
|
--set MOZ_ENABLE_WAYLAND 1
|
|
'';
|
|
};
|
|
in { home.packages = [ zenWithWayland ]; }
|