add mercurial settings
This commit is contained in:
parent
889f8566a6
commit
4564e2a3f7
4 changed files with 25 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
|||
../../gui
|
||||
../../sway
|
||||
../../git
|
||||
../../mercurial
|
||||
];
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
|
|
@ -24,5 +24,6 @@ in
|
|||
imports = [
|
||||
./home-manager/default.nix
|
||||
./git/home.nix
|
||||
./mercurial/home.nix
|
||||
];
|
||||
}
|
||||
|
|
8
nixos/mercurial/default.nix
Normal file
8
nixos/mercurial/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
home-manager.users.cyryl = {...}: {
|
||||
imports = [
|
||||
./home.nix
|
||||
];
|
||||
};
|
||||
}
|
15
nixos/mercurial/home.nix
Normal file
15
nixos/mercurial/home.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.mercurial = {
|
||||
enable = true;
|
||||
userName = "Cyryl Płotnicki";
|
||||
userEmail = "cyplo@cyplo.net";
|
||||
extraConfig = ''
|
||||
[extensions]
|
||||
hgext.convert=
|
||||
'';
|
||||
aliases =
|
||||
{
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue