mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 03:29:45 +01:00
zen-browser: add module
This commit is contained in:
parent
c30a10add7
commit
66790e45bc
2 changed files with 26 additions and 0 deletions
|
@ -267,6 +267,7 @@ let
|
|||
./programs/zathura.nix
|
||||
./programs/zed-editor.nix
|
||||
./programs/zellij.nix
|
||||
./programs/zen-browser.nix
|
||||
./programs/zk.nix
|
||||
./programs/zoxide.nix
|
||||
./programs/zplug.nix
|
||||
|
|
25
modules/programs/zen-browser.nix
Normal file
25
modules/programs/zen-browser.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ lib, ... }:
|
||||
let
|
||||
modulePath = [ "programs" "zen-browser" ];
|
||||
mkFirefoxModule = import ./firefox/mkFirefoxModule.nix;
|
||||
in {
|
||||
meta.maintainers = [ lib.hm.maintainers.HeitorAugustoLN ];
|
||||
|
||||
imports = [
|
||||
(mkFirefoxModule {
|
||||
inherit modulePath;
|
||||
name = "Zen Browser";
|
||||
wrappedPackageName = "zen-browser";
|
||||
unwrappedPackageName = "zen-browser-unwrapped";
|
||||
visible = true;
|
||||
|
||||
platforms = {
|
||||
linux = {
|
||||
vendorPath = ".zen";
|
||||
configPath = ".zen";
|
||||
};
|
||||
darwin = { configPath = "Library/Application Support/Zen"; };
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue