Working on reshuffling

This commit is contained in:
2026-03-19 12:06:41 +00:00
parent ced56c2534
commit b27c253f69
31 changed files with 1551 additions and 0 deletions
@@ -0,0 +1,29 @@
{ lib, pkgs, ... }:
let
programName = "fonts";
enableProgram = true; # default ON, can be toggled per module
in
{
# Top-level toggle
options.enable${lib.str.capitalize programName} =
lib.mkEnableOption "Enable system fonts";
# Wrap everything in config if enabled
config = lib.mkIf enableProgram {
myApps = {
${programName} = {
enable = true;
# Fonts packages (do not reference pkgs directly if you want symbolic pathing)
packages = [
"nerd-fonts.iosevka"
"nerd-fonts.fira-code"
];
# Optional: user
user = config.defaultUser or "henrov";
};
};
};
}