nix-config/modules/nix/browser/chromium.nix
2025-07-30 11:48:56 +02:00

19 lines
360 B
Nix

{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.chromium.enable = mkOption {
type = types.bool;
default = false;
description = "chromium";
};
config = mkIf config.smayzy.chromium.enable {
programs.chromium.enable = true;
environment.systemPackages = with pkgs; [
chromium
];
};
}