nix-config/modules/home-manager/desktop/browsers/chromium.nix

16 lines
300 B
Nix
Raw Normal View History

2025-06-09 21:50:17 +01:00
{ config, lib, ... }:
let
2025-07-09 08:00:00 +01:00
cfg = config.features.desktop.browsers.${name};
2025-06-09 21:50:17 +01:00
name = "chromium";
inherit (lib) mkEnableOption mkIf;
in
{
2025-07-09 08:00:00 +01:00
options.features.desktop.browsers.${name}.enable = mkEnableOption "Enable ${name}";
2025-06-09 21:50:17 +01:00
config = mkIf cfg.enable {
programs.${name}.enable = true;
};
}