add zen-browser as standard application module
This commit is contained in:
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 ];
|
||||
}) ];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user