only enable fonts based on desktop environment

This commit is contained in:
Osman Faruk Bayram 2025-10-21 21:12:48 +03:00
parent a39c31658f
commit 296cc209bd

View file

@ -383,7 +383,7 @@
fonts = { fonts = {
enable = lib.mkOption { enable = lib.mkOption {
type = lib.types.bool; type = lib.types.bool;
default = false; default = config.osbmModules.desktopEnvironment != "none";
description = "Enable custom fonts"; description = "Enable custom fonts";
}; };
}; };