nix-config/modules/nix/browser/firefox.nix
2025-07-08 17:39:23 +02:00

16 lines
289 B
Nix

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