Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for programs.delta module #6603

Open
phucleeuwu opened this issue Mar 11, 2025 · 2 comments
Open

Add support for programs.delta module #6603

phucleeuwu opened this issue Mar 11, 2025 · 2 comments
Assignees

Comments

@phucleeuwu
Copy link

Description

The delta program is a syntax-highlighting pager for git, diff, and grep. Currently, Home Manager does not provide a programs.delta module, and attempting to enable it results in the following error:

error: The option `home-manager.users.<user>.programs.delta' does not exist.

While delta can be installed manually via:

home.packages = [ pkgs.delta ];

having a dedicated module would improve usability and consistency with other CLI tools like git and bat.

Expected Behavior

A programs.delta module should be available with an option like:

programs.delta.enable = true;

which would automatically install delta and possibly allow configuration of its settings.

Additional Context

  • Home Manager Version: (output of home-manager --version)
  • Nixpkgs Version: (output of nix-instantiate --eval --expr '<nixpkgs>')
  • System: (e.g., macOS/Darwin or Linux)

Would love to see this implemented! Thanks for the great work. 🚀

@mathjiajia
Copy link

use programs.git.delta.enable

see https://nix-community.github.io/home-manager/options.xhtml

@phucleeuwu
Copy link
Author

use programs.git.delta.enable

see nix-community.github.io/home-manager/options.xhtml

I know but I no module file name git.delta.nix. So I have to config in git.nix. I want to separate delta config and git config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants