mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01:00
616dbd67f7
Very simple module for hg based on programs.git, and is intended to have compatible options. For simple setups, a user should be able to write something like: {...}: let vcsconfig = { enable = true; userName = "John Smith"; userEmail = "js@example.com"; ignores = [ "*.swp" "*~" ]; }; in { programs.git = vcsconfig // {...extra git config...}; programs.mercurial = vcsconfig // {...extra hg confg...}; } For this reason, the ignore options are `ignores` for `syntax: glob` and `ignoresRegexp` for `syntax: regexp` so that simple glob ignores can (very likely) be shared with a git config, despite regular expressions being the default for mercurial. |
||
---|---|---|
.. | ||
fontconfig.nix | ||
gtk.nix | ||
news.nix | ||
nixpkgs.nix | ||
pam.nix | ||
xdg.nix |