a lot of work
This commit is contained in:
4
modules/zen-browser/default.nix
Normal file
4
modules/zen-browser/default.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
_: {
|
||||
home = ./home.nix;
|
||||
# nixos = ./nixos.nix;
|
||||
}
|
||||
26
modules/zen-browser/home.nix
Normal file
26
modules/zen-browser/home.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
fetchFromGitHub,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.zen-browser;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
# inputs.zen-browser.homeModules.beta
|
||||
# inputs.zen-browser.homeModules.twilight
|
||||
inputs.zen-browser.homeModules.twilight-official
|
||||
];
|
||||
options.modules.zen-browser = {
|
||||
enable = lib.mkEnableOption "zen";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.zen-browser = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
17
modules/zen-browser/nixos.nix
Normal file
17
modules/zen-browser/nixos.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
# Disabled in default
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.zen-browser;
|
||||
in
|
||||
{
|
||||
options.modules.zen-browser = {
|
||||
enable = lib.mkEnableOption "zen";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user