Update browsers
This commit is contained in:
parent
10adafe703
commit
b72d409a5a
15 changed files with 262 additions and 67 deletions
23
modules/programs/browser/chromium.nix
Normal file
23
modules/programs/browser/chromium.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
options,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.mods.browser.chromium = {
|
||||
enable = lib.mkOption {
|
||||
default = false;
|
||||
example = true;
|
||||
type = lib.types.bool;
|
||||
description = "Enables chromium";
|
||||
};
|
||||
# TODO configure chromium
|
||||
};
|
||||
config = lib.mkIf config.mods.browser.chromium.enable (
|
||||
lib.optionalAttrs (options ? home.packages) {
|
||||
home.packages = with pkgs; [ chromium ];
|
||||
}
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue