Adding zen browser system-wide

This commit is contained in:
2026-02-22 22:22:52 +01:00
parent 76814385c5
commit d74aea2395
4 changed files with 288 additions and 252 deletions
@@ -1,4 +1,4 @@
{ config, lib, pkgs, flakeRoot, ... }:
{ config, lib, pkgs, flakeRoot, inputs, ... }:
let
packagesConfPath = flakeRoot + "/assets/conf/apps/packages.conf";
@@ -33,16 +33,21 @@ let
throw ''
install_packages.nix: package not found in pkgs
Token : ${builtins.toJSON name}
packages.conf : ${toString packagesConfPath}
Hint : check the attribute name on search.nixos.org/packages
Token : ${builtins.toJSON name}
packages.conf : ${toString packagesConfPath}
Hint : check the attribute name on search.nixos.org/packages
''
else
found;
packages = builtins.seq _guard (map resolvePkg entries);
zenBrowser =
inputs.zen-browser.packages.${pkgs.stdenv.hostPlatform.system}.default;
in
{
environment.systemPackages = packages;
environment.systemPackages =
packages
++ [ zenBrowser ];
}