bitcoin: add support for altcoins, add litecoin, namecoin and dogecoin, add nixos module