Working on reshuffling
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
{ # module function
|
||||
# --- Top-level toggle ---
|
||||
options.mySystem.desktop.fonts.enable =
|
||||
lib.mkEnableOption "Enable system fonts";
|
||||
|
||||
# --- Apply configuration if enabled ---
|
||||
config = lib.mkIf (config.mySystem.desktop.fonts.enable or false) {
|
||||
fonts.packages = with pkgs; [
|
||||
nerd-fonts.iosevka
|
||||
nerd-fonts.fira-code
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user