add zen-browser as standard application module

This commit is contained in:
greyweather committed 2026-09-06 18:57:35 +01:00
1 parent f546ca5a0c
commit 846be90bda
5 files changed
+73 -31

No files matched your search

@@ -0,0 +1,17 @@
{ inputs, self, ... }: let
optionName = "features.applications.gui.zen-browser.enable";
in {
imports = [ (inputs.helpers.mkStandardFeature.flakeModule "graphics" optionName "Zen Browser") ];
flake.nixosModules.graphics = { config, pkgs, ... }: {
imports = [ (inputs.helpers.mkStandardFeature.nixosModule { inherit config optionName; } {
environment.systemPackages = [ inputs.zen-browser.packages.${pkgs.stdenv.hostPlatform.system}.default ];
}) ];
};
flake.homeModules.graphics = { config, pkgs, ... }: {
imports = [ (inputs.helpers.mkStandardFeature.homeModule { inherit config optionName; } {
home.packages = [ inputs.zen-browser.packages.${pkgs.stdenv.hostPlatform.system}.default ];
}) ];
};
}
+1
View File
@@ -68,6 +68,7 @@
};
};
thunderbird.enable = true;
zen-browser.enable = true;
};
extraPackages = with pkgs; [