Update zen

This commit is contained in:
DashieTM 2024-12-31 20:33:10 +01:00
parent 029a7b86d7
commit b5f4e15db8
3 changed files with 3 additions and 14 deletions

View file

@ -14,22 +14,11 @@
type = lib.types.bool;
description = "Enables the zen browser";
};
optimization = lib.mkOption {
default = "specific";
example = "generic";
type =
with lib.types;
(enum [
"specific"
"generic"
]);
description = "Enables the zen browser";
};
# TODO configure zen
};
config = lib.mkIf config.mods.browser.zen.enable (
lib.optionalAttrs (options ? home.packages) {
home.packages = [ inputs.zen-browser.packages."${system}".${config.mods.browser.zen.optimization} ];
home.packages = [ inputs.zen-browser.packages."${system}".default ];
}
);
}

View file

@ -70,7 +70,7 @@
description = "The email client";
};
browser = lib.mkOption {
default = inputs.zen-browser.packages.${pkgs.system}.specific;
default = inputs.zen-browser.packages.${pkgs.system}.default;
example = "firefox";
type =
with lib.types;