diff --git a/nixos/boxes/foureighty/default.nix b/nixos/boxes/foureighty/default.nix index 7c4fbbe5..8833ee9e 100644 --- a/nixos/boxes/foureighty/default.nix +++ b/nixos/boxes/foureighty/default.nix @@ -15,6 +15,7 @@ ../../gui ../../sway ../../git + ../../mercurial ]; boot.kernelPackages = pkgs.linuxPackages_latest; diff --git a/nixos/home-other-os.nix b/nixos/home-other-os.nix index ee91aa97..072af58a 100644 --- a/nixos/home-other-os.nix +++ b/nixos/home-other-os.nix @@ -24,5 +24,6 @@ in imports = [ ./home-manager/default.nix ./git/home.nix + ./mercurial/home.nix ]; } diff --git a/nixos/mercurial/default.nix b/nixos/mercurial/default.nix new file mode 100644 index 00000000..2c4065d1 --- /dev/null +++ b/nixos/mercurial/default.nix @@ -0,0 +1,8 @@ +{ config, pkgs, lib, ... }: +{ + home-manager.users.cyryl = {...}: { + imports = [ + ./home.nix + ]; + }; +} diff --git a/nixos/mercurial/home.nix b/nixos/mercurial/home.nix new file mode 100644 index 00000000..f44c2bb1 --- /dev/null +++ b/nixos/mercurial/home.nix @@ -0,0 +1,15 @@ +{ config, pkgs, ... }: +{ + programs.mercurial = { + enable = true; + userName = "Cyryl PÅ‚otnicki"; + userEmail = "cyplo@cyplo.net"; + extraConfig = '' + [extensions] + hgext.convert= + ''; + aliases = + { + }; + }; + }