mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
zen config update
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
# Zen is a minimalistic web browser.
|
||||
{ pkgs, inputs, ... }: {
|
||||
home.packages = with pkgs;
|
||||
[ inputs.zen-browser.packages."${system}".default ];
|
||||
}
|
||||
{ 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 ]; }
|
||||
|
||||
Reference in New Issue
Block a user