zen-browser: move package name oddity to overlay

This commit is contained in:
Primrose 2025-11-23 10:57:12 +08:00
parent d74245aff7
commit 7549b79730
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 13 additions and 12 deletions

View file

@ -11,9 +11,6 @@ let
in in
{ {
programs.zen-browser = { programs.zen-browser = {
# TODO: upstream default is broken? They default to zen-twilight
package = pkgs.twilight;
# https://mozilla.github.io/policy-templates # https://mozilla.github.io/policy-templates
# The following have more complex logic, keep them as policies and not profiles # The following have more complex logic, keep them as policies and not profiles
policies = { policies = {

View file

@ -1,15 +1,19 @@
let let
sources = import ../../npins; sources = import ../../npins;
in in
final: _: { final: _:
inherit (sources.zen-browser.asFlake.packages.${final.system}) let
beta-unwrapped zenpkgs = sources.zen-browser.asFlake.packages.${final.system};
twilight-unwrapped in
twilight-official-unwrapped {
# TODO: upstream default is broken? They default to zen-twilight
"zen-beta-unwrapped" = zenpkgs."beta-unwrapped";
"zen-twilight-unwrapped" = zenpkgs."twilight-unwrapped";
"zen-twilight-official-unwrapped" = zenpkgs."twilight-official-unwrapped";
beta # default # default
"zen-beta" = zenpkgs."beta";
twilight "zen-twilight" = zenpkgs."twilight";
twilight-official "zen-twilight-official" = zenpkgs."twilight-official";
;
} }