mirror of
https://github.com/nix-community/home-manager
synced 2024-11-20 10:09:45 +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. |
||
---|---|---|
.. | ||
command-not-found | ||
bash.nix | ||
beets.nix | ||
browserpass.nix | ||
eclipse.nix | ||
emacs.nix | ||
feh.nix | ||
firefox.nix | ||
git.nix | ||
gnome-terminal.nix | ||
home-manager.nix | ||
htop.nix | ||
info.nix | ||
lesspipe.nix | ||
man.nix | ||
mercurial.nix | ||
neovim.nix | ||
rofi.nix | ||
ssh.nix | ||
termite.nix | ||
texlive.nix | ||
vim.nix | ||
zsh.nix |