Added zen-broswser in applications

This commit is contained in:
2026-03-16 17:26:37 +00:00
parent cc10297ac9
commit 9f56681bf4
+30 -11
View File
@@ -797,6 +797,7 @@ This is top file of this level which contains just an import statement for all r
./packages.nix
./flatpaks.nix
./accessibility/top.nix
./browsing/top.nix
./file_management/top.nix
./gaming/top.nix
./media_playback_editing/top.nix
@@ -807,6 +808,35 @@ This is top file of this level which contains just an import statement for all r
}
#+END_SRC
** =generated/system/applications/browsing/top.nix=
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
#+BEGIN_SRC nix :tangle generated/system/applications/browsing/top.nix :noweb tangle :mkdirp yes :eval never-html
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
{
imports = [
./zen-browser.nix
# ./firefox.nix
# ./vivaldi.nix
];
#+END_SRC
** =generated/system/applications/browsing/top.nix=
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
#+BEGIN_SRC nix :tangle generated/system/applications/browsing/top.nix :noweb tangle :mkdirp yes :eval never-html
{ pkgs, ... }:
{
programs.zen-browser = {
enable = true;
profile = {
settings = {
"widget.non-native-theme.enabled" = false;
"widget.dmab.hidpi.enabled" = true;
};
};
};
}
#+END_SRC
** =generated/system/applications/packages.nix=
This will import all packages listed in ./assets/system/apps/packlages.conf
#+BEGIN_SRC nix :tangle generated/system/applications/packages.nix :noweb tangle :mkdirp yes :eval never-html
@@ -842,18 +872,7 @@ let
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
++ [ zenBrowser ];
}
#+END_SRC
** =generated/system/applications/flatpaks.nix=