adding bitcoin node to kohlin instead of dalinar

This commit is contained in:
Chris Cochrun 2022-11-21 17:00:17 -06:00
parent c6e3ab0a51
commit 51c73b0e7c
3 changed files with 60 additions and 62 deletions

View file

@ -136,6 +136,7 @@ Both include the home-manager module. Primarily I chose that route so that I cou
inherit system; inherit system;
modules = [ modules = [
./system/kohlin/configuration.nix ./system/kohlin/configuration.nix
nix-bitcoin.nixosModules.default
]; ];
}; };
}; };
@ -1787,13 +1788,20 @@ Kohlin's config is of course server oriented.
# List services that you want to enable: # List services that you want to enable:
nix-bitcoin = {
generateSecrets = true;
operator = {
enable = true;
name = "chris";
};
};
services.locate = { services.locate = {
enable = true; enable = true;
locate = pkgs.plocate; locate = pkgs.plocate;
localuser = null; localuser = null;
}; };
# Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh.enable = true;
services.fstrim.enable = true; services.fstrim.enable = true;
services.logind = { services.logind = {
@ -1801,39 +1809,30 @@ Kohlin's config is of course server oriented.
lidSwitchExternalPower = "ignore"; lidSwitchExternalPower = "ignore";
}; };
# DDCLIENT services.monero = {
# services.ddclient = { enable = false;
# enable = true; dataDir = "/storage/monero";
# configFile = /home/chris/ddclient.conf; };
#domains = [
# "nc.cochrun.xyz"
# "home.cochrun.xyz"
# "mail.cochrun.xyz"
# "jelly.cochrun.xyz"
#];
#passwordFile = "/etc/nixos/ddclientp";
#protocol = "namecheap";
#use = "web, web=dynamicdns.park-your-domain.com/getip";
#server = "dynamicdns.park-your-domain.com";
#username = "cochrun.xyz";
#extraConfig = ''
#use=web, web=dynamicdns.park-your-domain.com/getip
#protocol=namecheap
#server=dynamicdns.park-your-domain.com
#login=livingseedco.shop
#password=e157e42337fc4ccd850d0a3904733f46
#@
#use=web, web=dynamicdns.park-your-domain.com/getip services.bitcoind = {
#protocol=namecheap enable = true;
#server=dynamicdns.park-your-domain.com listen = true;
#login=cochrun.xyz dataDir = "/storage/bitcoind";
#password=94602c373f9f4743838bf567def2eb72 dbCache = 5000;
#@,nc.cochrun.xyz,home.cochrun.xyz,mail.cochrun.xyz,jelly.cochrun.xyz };
services.clightning = {
enable = true;
dataDir = "/storage/clightning";
};
#''; services.rtl = {
# }; enable = true;
dataDir = "/storage/rtl";
nightTheme = true;
extraCurrency = "USD";
nodes.clightning.enable = true;
};
# CADDY # CADDY
services.caddy = { services.caddy = {

View file

@ -109,6 +109,7 @@
inherit system; inherit system;
modules = [ modules = [
./system/kohlin/configuration.nix ./system/kohlin/configuration.nix
nix-bitcoin.nixosModules.default
]; ];
}; };
}; };

View file

@ -178,13 +178,20 @@
# List services that you want to enable: # List services that you want to enable:
nix-bitcoin = {
generateSecrets = true;
operator = {
enable = true;
name = "chris";
};
};
services.locate = { services.locate = {
enable = true; enable = true;
locate = pkgs.plocate; locate = pkgs.plocate;
localuser = null; localuser = null;
}; };
# Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh.enable = true;
services.fstrim.enable = true; services.fstrim.enable = true;
services.logind = { services.logind = {
@ -192,39 +199,30 @@
lidSwitchExternalPower = "ignore"; lidSwitchExternalPower = "ignore";
}; };
# DDCLIENT services.monero = {
# services.ddclient = { enable = false;
# enable = true; dataDir = "/storage/monero";
# configFile = /home/chris/ddclient.conf; };
#domains = [
# "nc.cochrun.xyz"
# "home.cochrun.xyz"
# "mail.cochrun.xyz"
# "jelly.cochrun.xyz"
#];
#passwordFile = "/etc/nixos/ddclientp";
#protocol = "namecheap";
#use = "web, web=dynamicdns.park-your-domain.com/getip";
#server = "dynamicdns.park-your-domain.com";
#username = "cochrun.xyz";
#extraConfig = ''
#use=web, web=dynamicdns.park-your-domain.com/getip
#protocol=namecheap
#server=dynamicdns.park-your-domain.com
#login=livingseedco.shop
#password=e157e42337fc4ccd850d0a3904733f46
#@
#use=web, web=dynamicdns.park-your-domain.com/getip services.bitcoind = {
#protocol=namecheap enable = true;
#server=dynamicdns.park-your-domain.com listen = true;
#login=cochrun.xyz dataDir = "/storage/bitcoind";
#password=94602c373f9f4743838bf567def2eb72 dbCache = 5000;
#@,nc.cochrun.xyz,home.cochrun.xyz,mail.cochrun.xyz,jelly.cochrun.xyz };
services.clightning = {
enable = true;
dataDir = "/storage/clightning";
};
#''; services.rtl = {
# }; enable = true;
dataDir = "/storage/rtl";
nightTheme = true;
extraCurrency = "USD";
nodes.clightning.enable = true;
};
# CADDY # CADDY
services.caddy = { services.caddy = {