- Update flake.nix with 25.11 release and core inputs - Add dedicated modules for audio (Pipewire), bluetooth, and networking - Update GEMINI.md with the new Modular Merging Architecture blueprint - Configure graphical installer ISO and test VM outputs
25 lines
667 B
Nix
25 lines
667 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
let
|
|
# Standardize state files to a common directory
|
|
stateDir = "${config.home.homeDirectory}/.config/home-manager";
|
|
fontStateFile = "${stateDir}/font-state.nix";
|
|
activeFont = if builtins.pathExists fontStateFile then
|
|
lib.removeSuffix "\n" (builtins.readFile fontStateFile)
|
|
else "JetBrainsMono Nerd Font";
|
|
in
|
|
{
|
|
options.nomarchy.fonts = {
|
|
monospace = lib.mkOption {
|
|
type = lib.types.str;
|
|
default = activeFont;
|
|
description = "Monospace font for the system";
|
|
};
|
|
};
|
|
|
|
config = {
|
|
fonts.fontconfig.enable = true;
|
|
xdg.dataFile."fonts/nomarchy.ttf".source = ../../config/nomarchy.ttf;
|
|
};
|
|
}
|