Skip to content

fontconfig: enable config files by default#9248

Open
bmrips wants to merge 3 commits into
nix-community:masterfrom
bmrips:fontconfig-enable-config-files
Open

fontconfig: enable config files by default#9248
bmrips wants to merge 3 commits into
nix-community:masterfrom
bmrips:fontconfig-enable-config-files

Conversation

@bmrips
Copy link
Copy Markdown
Contributor

@bmrips bmrips commented May 3, 2026

Description

This PR makes the fonts.fontconfig.configFile.<name>.enable option true by default which matches the behaviour of home.file and the like. Since this change is not backwards-compatible, users with extra config
files are notified of it.

Additionally, I added two tests for the HM-defined config files for font discovery and default fonts.

Checklist

  • Change is backwards compatible.

  • Code formatted with nix fmt or
    nix-shell -A dev --run treefmt.

  • Code tested through nix run .#tests -- test-all or
    nix-shell --pure tests -A run.all.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.
    • Generate a news entry. See News
    • Basic tests added. See Tests
  • If this PR adds an exciting new feature or contains a breaking change.

    • Generate a news entry. See News

@home-manager-ci home-manager-ci Bot requested a review from rycee May 3, 2026 18:33
Comment thread modules/misc/fontconfig.nix Outdated
bmrips added 3 commits May 4, 2026 13:53
This commit makes the `fonts.fontconfig.configFile.<name>.enable` option
true by default which matches the behaviour of `home.file` and the like.
@bmrips bmrips force-pushed the fontconfig-enable-config-files branch from 0ad7e96 to a4fd0d7 Compare May 4, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants