nix-config/modules/nix/browser/chromium.nix
smayzy 852d9a2baa
All checks were successful
nix flake show / show-flake (push) Successful in 50s
clean
2025-08-02 15:24:45 +02:00

24 lines
368 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
];
};
}