Merge branch 'main' of gh:greg-hellings/nixos-config
This commit is contained in:
@@ -104,6 +104,7 @@ in {
|
|||||||
foxyproxy-standard
|
foxyproxy-standard
|
||||||
multi-account-containers
|
multi-account-containers
|
||||||
octotree
|
octotree
|
||||||
|
okta-browser-plugin
|
||||||
refined-github
|
refined-github
|
||||||
tree-style-tab
|
tree-style-tab
|
||||||
ublock-origin
|
ublock-origin
|
||||||
|
|||||||
+33
-2
@@ -1,4 +1,4 @@
|
|||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
ip = "100.68.203.1";
|
ip = "100.68.203.1";
|
||||||
@@ -15,10 +15,24 @@ in {
|
|||||||
networking.firewall.allowedTCPPorts = with config.services; [
|
networking.firewall.allowedTCPPorts = with config.services; [
|
||||||
bitcoind.port
|
bitcoind.port
|
||||||
bitcoind.rpc.port
|
bitcoind.rpc.port
|
||||||
|
lnd.restPort
|
||||||
|
lnd.port
|
||||||
mempool.frontend.port
|
mempool.frontend.port
|
||||||
];
|
];
|
||||||
|
|
||||||
|
greg.backup.jobs = {
|
||||||
|
clightning = {
|
||||||
|
src = config.services.clightning.replication.local.directory;
|
||||||
|
dest = "hosea-clightning";
|
||||||
|
id = "clightning";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
backups = {
|
||||||
|
enable = true;
|
||||||
|
frequency = "hourly";
|
||||||
|
};
|
||||||
bitcoind = {
|
bitcoind = {
|
||||||
enable = true;
|
enable = true;
|
||||||
address = "0.0.0.0";
|
address = "0.0.0.0";
|
||||||
@@ -31,11 +45,25 @@ in {
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
clightning.enable = true;
|
clightning = {
|
||||||
|
enable = true;
|
||||||
|
address = ip;
|
||||||
|
port = 9736;
|
||||||
|
replication = {
|
||||||
|
enable = true;
|
||||||
|
local.directory = "/var/backup/clightning";
|
||||||
|
encrypt = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
electrs = {
|
electrs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
address = ip;
|
address = ip;
|
||||||
};
|
};
|
||||||
|
lnd = {
|
||||||
|
enable = true;
|
||||||
|
address = ip;
|
||||||
|
lndconnect.enable = true;
|
||||||
|
};
|
||||||
mempool = {
|
mempool = {
|
||||||
enable = true;
|
enable = true;
|
||||||
frontend = {
|
frontend = {
|
||||||
@@ -44,4 +72,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user