mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 13:49:17 -05:00
15 lines
266 B
Nix
15 lines
266 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
options = {
|
|
alyraffauf.apps.google-chrome.enable = lib.mkEnableOption "Enable Google Chrome.";
|
|
};
|
|
|
|
config = lib.mkIf config.alyraffauf.apps.google-chrome.enable {
|
|
home.packages = with pkgs; [google-chrome];
|
|
};
|
|
}
|