23 Commits

Author SHA1 Message Date
Luis Quiñones
d169f16140 fix(package): expose correct desktop file name (#94)
Ups... I was wrong that was just a label for the desktop entry.
2025-08-17 21:35:58 -05:00
Luis Quiñones
557da38fba fix(package): expose desktop name in meta attribute (#90)
Reintroduced because it was removed in this commit:
e6c66542e6.
2025-08-17 17:26:56 -05:00
Dmitry Chermnykh
09489bfb25 fix(hash): evaluation (#89) 2025-08-17 13:54:16 -05:00
isabel
dd212be919 refactor: package & config cleanup (#88)
* refactor(package): use package fetchers

builtin fetchers are blocking, therefore also slow. for packaging we
should use the package fetchers

* refactor: build the desktop file as a part of the package

* refactor(default.nix): remove redundant args

* refactor(flake.nix): remove duplicated code & rec

* fix(hm-module)!: typo in mkFireFoxmodule

* fix(hm-module): work with nixpkgs config `allowAliases = false;`

* fix: partial revert of 805c8f56e8

the `lib.mkDefault` was being ignored and the policies would never be
set. perhaps a better thing to do here would be to remove them
completly. otherwise this is the next best thing

* refactor(package): use `hash` over `sha256`

Co-authored-by: Seth Flynn <getchoo@tuta.io>
2025-08-17 13:53:45 -05:00
Dmitry Chermnykh
b5b7136bb6 Fix nativeMessagingHosts (#83)
* Fix nativeMessagingHosts

Something has changed in home-manager, so the nativeMessagingHosts option was broken

* re-format code
2025-08-09 16:34:36 +05:00
Florian
4d72db5b12 feat: add aarch64-darwin (macOS) support (#80) 2025-07-25 23:04:26 -05:00
Aly Raffauf
f759e11d98 feat: add aarch64-darwin to supportedSystems + mark darwin as broken (#79)
For those darwin users who want to use the flake module.
2025-07-17 19:54:59 -05:00
Luis Quiñones
5962b5db7b revert: "feat(package): add libva-vdpau-driver as runtime dependency (#72)" (#74)
This reverts commit 64ec7a3a41.
2025-06-28 11:18:28 -05:00
Vipul Tyagi
d927410840 fix: shell variable interpolation in app name flag (#73) 2025-06-27 08:34:45 -05:00
Luis Quiñones
64ec7a3a41 feat(package): add libva-vdpau-driver as runtime dependency (#72)
Might resolve this issue:
https://github.com/0xc000022070/zen-browser-flake/issues/68
2025-06-26 22:22:57 -05:00
Luis Quiñones
a01acea9d2 feat(package): add libGL as a runtime dependency (#51)
Add libGL to ensure proper runtime support for OpenGL. Without this dependency,
the browser logs errors related to missing GL libraries at startup.
2025-04-19 00:30:43 -05:00
Dmitry Chermnykh
8c6b498af3 fix: policies handling (#50)
Changes:
- Fixes typo in libName for policies.json (used to be zen-$version instead of zen-bin-$version for a single file)
- Remove unneeded wrapFirefox arguments (the current defaults for wrapFirefox are good for us)
2025-04-18 16:40:51 -05:00
Luis Quiñones
805c8f56e8 feat: allow policies.json management via unwrapped package override (#49)
In previous iterations the browser were forced to have disabled updates but this
might create an undesirable behavior in tools like 1Password as you can see here:
https://github.com/0xc000022070/zen-browser-flake/issues/48

So I'm allowing to override the browser policies. This will only work for unwrapped packages.
2025-04-18 11:11:14 -05:00
Luis Quiñones
6a9daeae2f fix: manually install .desktop file(#46)
Might fix: https://github.com/0xc000022070/zen-browser-flake/issues/45

This commit addresses the problem where the .desktop file was not being installed properly. 

In my case, since the rewrite the URLs sent me to Brave instead of Zen.

Are you dumb, sir?
2025-04-14 21:03:55 -05:00
Dmitry Chermnykh
07d29de123 Force zen to set WM class to $MOZ_APP_LAUNCHER 2025-04-05 16:30:10 +05:00
Dmitry Chermnykh
ab78c0467a Fix zen symlink: link to the binary that is going to be wrapped 2025-04-04 22:28:34 +05:00
Luis Quiñones
05274a63b9 fix(package): create symlink to expose binary as "zen"
This change might fix the issue mentioned here:
https://github.com/0xc000022070/zen-browser-flake/issues/36

But the problem with this is that if both zen flavors are installed
then one of them will have more priority than the other so they should
use complete binary name like "zen-twilight" or "zen-beta" instead of
only "zen"
2025-04-03 18:24:29 -05:00
Luis Quiñones
e356572091 style: nix code with alejandra format 2025-04-03 18:15:09 -05:00
Dmitry Chermnykh
c3bb78a3e4 remove extra gappsWrapperArgs because they are inserted automatically with pkgs.wrapFirefox 2025-04-02 22:05:17 +05:00
Dmitry Chermnykh
808562590c use the .desktop file generated via wrapFirefox 2025-04-02 21:33:26 +05:00
Dmitry Chermnykh
a8f6bb6854 fix binary names & wrapping (follow firefox-bin installPhase logic) 2025-04-02 20:58:56 +05:00
Dmitry Chermnykh
13024d813c fix mainProgram name 2025-04-02 20:38:15 +05:00
Dmitry Chermnykh
ffb45b18bf rewrite 2025-04-02 20:18:24 +05:00