add nodeinfo package

This commit is contained in:
Jonas Nick
2018-11-20 22:14:40 +00:00
parent 14a073c35a
commit 986217d5d3
4 changed files with 47 additions and 6 deletions
+8 -6
View File
@@ -3,10 +3,9 @@
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{
let
nodeinfo = (import pkgs/nodeinfo.nix);
in {
disabledModules = [ "services/security/tor.nix" ];
imports =
@@ -14,15 +13,18 @@
./modules/default.nix
./modules/tor.nix
./modules/onionnode.nix
./modules/nodeinfo.nix
];
networking.hostName = "nix-bitcoin"; # Define your hostname.
time.timeZone = "UTC";
environment.systemPackages = with pkgs; [
wget vim tmux bitcoin git nginx
wget vim tmux git nginx nodeinfo
];
nixpkgs.config.packageOverrides = pkgs: {
inherit nodeinfo;
};
services.openssh.enable = true;