mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
update system
This commit is contained in:
24
modules/nixos/fonts/nerd-fonts.nix
Normal file
24
modules/nixos/fonts/nerd-fonts.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user