add mercurial settings

This commit is contained in:
Cyryl Płotnicki 2020-08-01 10:16:16 +01:00
parent 889f8566a6
commit 4564e2a3f7
4 changed files with 25 additions and 0 deletions

View file

@ -15,6 +15,7 @@
../../gui
../../sway
../../git
../../mercurial
];
boot.kernelPackages = pkgs.linuxPackages_latest;

View file

@ -24,5 +24,6 @@ in
imports = [
./home-manager/default.nix
./git/home.nix
./mercurial/home.nix
];
}

View file

@ -0,0 +1,8 @@
{ config, pkgs, lib, ... }:
{
home-manager.users.cyryl = {...}: {
imports = [
./home.nix
];
};
}

15
nixos/mercurial/home.nix Normal file
View file

@ -0,0 +1,15 @@
{ config, pkgs, ... }:
{
programs.mercurial = {
enable = true;
userName = "Cyryl Płotnicki";
userEmail = "cyplo@cyplo.net";
extraConfig = ''
[extensions]
hgext.convert=
'';
aliases =
{
};
};
}