mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-11 02:56:27 +00:00
25 lines
302 B
Nix
25 lines
302 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.fonts.nerd-fonts;
|
|
in
|
|
{
|
|
options.fonts.nerd-fonts = {
|
|
enable = mkEnableOption "Enable nerdfonts";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
fonts = {
|
|
packages = with pkgs; [
|
|
nerd-fonts.symbols-only
|
|
];
|
|
};
|
|
};
|
|
}
|