1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-28 09:28:32 +02:00
home-manager/modules/misc
Alistair Potts 616dbd67f7
mercurial: add module
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.
2018-02-02 20:52:54 +01:00
..
fontconfig.nix use xdg.configFile for files in XDG config home 2017-10-29 01:59:34 +02:00
gtk.nix gtk: remove deprecated options 2017-12-23 12:46:02 +01:00
news.nix mercurial: add module 2018-02-02 20:52:54 +01:00
nixpkgs.nix nixpkgs: add module 2017-10-24 01:29:35 +02:00
pam.nix pam: add option pam.sessionVariables 2018-01-07 17:52:13 +01:00
xdg.nix xdg: add option 'xdg.dataFile' 2017-11-11 00:30:53 +01:00