16 lines
283 B
Nix
16 lines
283 B
Nix
{ lib, config, ... }:
|
|
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;
|
|
};
|
|
}
|