add lightning charge package

This commit is contained in:
Jonas Nick
2018-11-24 22:34:39 +00:00
parent ab438a4d51
commit c4935008dc
3 changed files with 41 additions and 7 deletions
+4 -3
View File
@@ -4,8 +4,9 @@
{ config, pkgs, ... }:
let
# custom package
# custom packages
nodeinfo = (import pkgs/nodeinfo.nix);
lightning-charge = import pkgs/lightning-charge.nix { inherit pkgs; };
in {
disabledModules = [ "services/security/tor.nix" ];
@@ -14,7 +15,6 @@ in {
./modules/nixbitcoin.nix
];
# TODO: does that destroy the channels symlink?
# turn off binary cache by passing the empty list
#nix.binaryCaches = [];
@@ -25,9 +25,11 @@ in {
vim tmux clightning bitcoin
nodeinfo
jq
lightning-charge.package
];
nixpkgs.config.packageOverrides = pkgs: {
inherit nodeinfo;
inherit lightning-charge;
};
services.openssh.enable = true;
@@ -36,7 +38,6 @@ in {
# openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILacgZRwLsiICNHGHY2TG2APeuxFsrw6Cg13ZTMQpNqA nickler@rick" ];
# };
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
networking.firewall.enable = true;