18 lines
273 B
Nix
18 lines
273 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
feature = "fonts";
|
|
in
|
|
{
|
|
config = lib.mkIf config.${feature}.enable {
|
|
fonts.packages = with pkgs; [ nerd-fonts.jetbrains-mono ];
|
|
};
|
|
|
|
imports = [ ];
|
|
|
|
options.${feature}.enable = lib.mkEnableOption "enables ${feature}";
|
|
}
|