adding bitcoin node to kohlin instead of dalinar
This commit is contained in:
		
							parent
							
								
									c6e3ab0a51
								
							
						
					
					
						commit
						51c73b0e7c
					
				
					 3 changed files with 60 additions and 62 deletions
				
			
		
							
								
								
									
										61
									
								
								README.org
									
										
									
									
									
								
							
							
						
						
									
										61
									
								
								README.org
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -136,6 +136,7 @@ Both include the home-manager module. Primarily I chose that route so that I cou
 | 
			
		|||
          inherit system;
 | 
			
		||||
          modules = [
 | 
			
		||||
            ./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:
 | 
			
		||||
 | 
			
		||||
  nix-bitcoin = {
 | 
			
		||||
    generateSecrets = true;
 | 
			
		||||
    operator = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      name = "chris";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  services.locate = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    locate = pkgs.plocate;
 | 
			
		||||
    localuser = null;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # Enable the OpenSSH daemon.
 | 
			
		||||
  services.openssh.enable = true;
 | 
			
		||||
  services.fstrim.enable = true;
 | 
			
		||||
  services.logind = {
 | 
			
		||||
| 
						 | 
				
			
			@ -1801,39 +1809,30 @@ Kohlin's config is of course server oriented.
 | 
			
		|||
    lidSwitchExternalPower = "ignore";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # DDCLIENT
 | 
			
		||||
  # services.ddclient = {
 | 
			
		||||
  #   enable = true;
 | 
			
		||||
  #   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
 | 
			
		||||
   #@
 | 
			
		||||
  services.monero = {
 | 
			
		||||
    enable = false;
 | 
			
		||||
    dataDir = "/storage/monero";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
   #use=web, web=dynamicdns.park-your-domain.com/getip
 | 
			
		||||
   #protocol=namecheap
 | 
			
		||||
   #server=dynamicdns.park-your-domain.com
 | 
			
		||||
   #login=cochrun.xyz
 | 
			
		||||
   #password=94602c373f9f4743838bf567def2eb72
 | 
			
		||||
   #@,nc.cochrun.xyz,home.cochrun.xyz,mail.cochrun.xyz,jelly.cochrun.xyz
 | 
			
		||||
  services.bitcoind = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    listen = true;
 | 
			
		||||
    dataDir = "/storage/bitcoind";
 | 
			
		||||
    dbCache = 5000;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  services.clightning = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    dataDir = "/storage/clightning";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
   #'';
 | 
			
		||||
  # };
 | 
			
		||||
  services.rtl = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    dataDir = "/storage/rtl";
 | 
			
		||||
    nightTheme = true;
 | 
			
		||||
    extraCurrency = "USD";
 | 
			
		||||
    nodes.clightning.enable = true;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # CADDY
 | 
			
		||||
  services.caddy = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -109,6 +109,7 @@
 | 
			
		|||
          inherit system;
 | 
			
		||||
          modules = [
 | 
			
		||||
            ./system/kohlin/configuration.nix
 | 
			
		||||
            nix-bitcoin.nixosModules.default
 | 
			
		||||
          ];
 | 
			
		||||
        };
 | 
			
		||||
      };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -178,13 +178,20 @@
 | 
			
		|||
 | 
			
		||||
  # List services that you want to enable:
 | 
			
		||||
 | 
			
		||||
  nix-bitcoin = {
 | 
			
		||||
    generateSecrets = true;
 | 
			
		||||
    operator = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      name = "chris";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  services.locate = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    locate = pkgs.plocate;
 | 
			
		||||
    localuser = null;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # Enable the OpenSSH daemon.
 | 
			
		||||
  services.openssh.enable = true;
 | 
			
		||||
  services.fstrim.enable = true;
 | 
			
		||||
  services.logind = {
 | 
			
		||||
| 
						 | 
				
			
			@ -192,39 +199,30 @@
 | 
			
		|||
    lidSwitchExternalPower = "ignore";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # DDCLIENT
 | 
			
		||||
  # services.ddclient = {
 | 
			
		||||
  #   enable = true;
 | 
			
		||||
  #   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
 | 
			
		||||
   #@
 | 
			
		||||
  services.monero = {
 | 
			
		||||
    enable = false;
 | 
			
		||||
    dataDir = "/storage/monero";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
   #use=web, web=dynamicdns.park-your-domain.com/getip
 | 
			
		||||
   #protocol=namecheap
 | 
			
		||||
   #server=dynamicdns.park-your-domain.com
 | 
			
		||||
   #login=cochrun.xyz
 | 
			
		||||
   #password=94602c373f9f4743838bf567def2eb72
 | 
			
		||||
   #@,nc.cochrun.xyz,home.cochrun.xyz,mail.cochrun.xyz,jelly.cochrun.xyz
 | 
			
		||||
  services.bitcoind = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    listen = true;
 | 
			
		||||
    dataDir = "/storage/bitcoind";
 | 
			
		||||
    dbCache = 5000;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  services.clightning = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    dataDir = "/storage/clightning";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
   #'';
 | 
			
		||||
  # };
 | 
			
		||||
  services.rtl = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    dataDir = "/storage/rtl";
 | 
			
		||||
    nightTheme = true;
 | 
			
		||||
    extraCurrency = "USD";
 | 
			
		||||
    nodes.clightning.enable = true;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # CADDY
 | 
			
		||||
  services.caddy = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue