Compare commits
No commits in common. "186affb97dbe8de7e323f5549694dff26a2ce46f" and "45a9ced99b0acbf73b15feccaf5538d4f5f56f0e" have entirely different histories.
186affb97d
...
45a9ced99b
5 changed files with 0 additions and 85 deletions
|
@ -1,57 +0,0 @@
|
||||||
{
|
|
||||||
inputs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
"${inputs.nix-bitcoin}/modules/modules.nix"
|
|
||||||
];
|
|
||||||
|
|
||||||
config = {
|
|
||||||
|
|
||||||
services.bitcoind = {
|
|
||||||
enable = true;
|
|
||||||
listen = true;
|
|
||||||
txindex = true;
|
|
||||||
disablewallet = true;
|
|
||||||
extraConfig = ''
|
|
||||||
coinstatsindex=1
|
|
||||||
maxmempool=2048
|
|
||||||
persistmempool=1
|
|
||||||
'';
|
|
||||||
tor.proxy = true;
|
|
||||||
rpc.address = "0.0.0.0";
|
|
||||||
rpc.allowip = [
|
|
||||||
"10.0.0.0/8"
|
|
||||||
"172.16.0.0/12"
|
|
||||||
"192.168.0.0/16"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
services.electrs = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.monero = {
|
|
||||||
enable = true;
|
|
||||||
extraConfig = ''
|
|
||||||
proxy=127.0.0.1:9050
|
|
||||||
igd=disabled
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
services.tor.client.enable = true;
|
|
||||||
|
|
||||||
nix-bitcoin = {
|
|
||||||
onionServices = {
|
|
||||||
bitcoind = {
|
|
||||||
public = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
generateSecrets = true;
|
|
||||||
secretsDir = "/var/nix-bitcoin";
|
|
||||||
configVersion = "0.0.121";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -26,8 +26,6 @@
|
||||||
../../nix-os/gnupg.nix
|
../../nix-os/gnupg.nix
|
||||||
|
|
||||||
"${inputs.nixos-vscode-server}"
|
"${inputs.nixos-vscode-server}"
|
||||||
|
|
||||||
./cryptocurrency.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
21
inputs.nix
21
inputs.nix
|
@ -67,27 +67,6 @@ let self = {
|
||||||
sha256 = "${lock.nixpkgs-unstable.sha256}";
|
sha256 = "${lock.nixpkgs-unstable.sha256}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nix-bitcoin = rec {
|
|
||||||
url = "https://github.com/fort-nix/nix-bitcoin/archive/${lock.nix-bitcoin.revision}.tar.gz";
|
|
||||||
updateScript = pkgs.den-http-get-updater {
|
|
||||||
fileLocation = lockFile;
|
|
||||||
previousVersion = lock.nix-bitcoin.revision;
|
|
||||||
versionUrl = "https://api.github.com/repos/fort-nix/nix-bitcoin/commits";
|
|
||||||
contentParser = "jq -rc '.[0].sha' <<< \"$newVersion\"";
|
|
||||||
prefetchList = [{
|
|
||||||
previousHash = lock.nix-bitcoin.sha256;
|
|
||||||
prefetchUrlLocation = {
|
|
||||||
file = ./inputs.nix;
|
|
||||||
attrpath = "nix-bitcoin.url";
|
|
||||||
};
|
|
||||||
}];
|
|
||||||
};
|
|
||||||
outPath = builtins.fetchTarball {
|
|
||||||
inherit url;
|
|
||||||
name = "nix-bitcoin";
|
|
||||||
sha256 = "${lock.nix-bitcoin.sha256}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
cosmic-modules = rec {
|
cosmic-modules = rec {
|
||||||
url = "https://github.com/lilyinstarlight/nixos-cosmic/archive/${lock.cosmic-modules.revision}.tar.gz";
|
url = "https://github.com/lilyinstarlight/nixos-cosmic/archive/${lock.cosmic-modules.revision}.tar.gz";
|
||||||
updateScript = pkgs.den-http-get-updater {
|
updateScript = pkgs.den-http-get-updater {
|
||||||
|
|
4
lock.nix
4
lock.nix
|
@ -11,10 +11,6 @@
|
||||||
revision = "c8cd81426f45942bb2906d5ed2fe21d2f19d95b7";
|
revision = "c8cd81426f45942bb2906d5ed2fe21d2f19d95b7";
|
||||||
sha256 = "sha256-tzCdyIJj9AjysC3OuKA+tMD/kDEDAF9mICPDU7ix0JA=";
|
sha256 = "sha256-tzCdyIJj9AjysC3OuKA+tMD/kDEDAF9mICPDU7ix0JA=";
|
||||||
};
|
};
|
||||||
nix-bitcoin = {
|
|
||||||
revision = "990805aa7c7fcd1552c6e14e8c6df9a88ba9be41";
|
|
||||||
sha256 = "sha256-yU7iYlDSD8lOrm02igxIl3y+bXGZDDO0qcG0gO48Cto=";
|
|
||||||
};
|
|
||||||
cosmic-modules = {
|
cosmic-modules = {
|
||||||
revision = "d20b15f629985fe6900925bef462f947e4a75b2f";
|
revision = "d20b15f629985fe6900925bef462f947e4a75b2f";
|
||||||
sha256 = "sha256-KEuKL7lM2ZqKzvaGIptVDAce29CAR4ZSgWtFD3PnpB0=";
|
sha256 = "sha256-KEuKL7lM2ZqKzvaGIptVDAce29CAR4ZSgWtFD3PnpB0=";
|
||||||
|
|
|
@ -8,7 +8,6 @@ self:
|
||||||
in {
|
in {
|
||||||
"inputs/nixpkgs" = inputsWithPackages.nixpkgs;
|
"inputs/nixpkgs" = inputsWithPackages.nixpkgs;
|
||||||
"inputs/nixpkgs-unstable" = inputsWithPackages.nixpkgs-unstable;
|
"inputs/nixpkgs-unstable" = inputsWithPackages.nixpkgs-unstable;
|
||||||
"inputs/nix-bitcoin" = inputsWithPackages.nix-bitcoin;
|
|
||||||
"inputs/cosmic-modules" = inputsWithPackages.cosmic-modules;
|
"inputs/cosmic-modules" = inputsWithPackages.cosmic-modules;
|
||||||
"inputs/nixos-vscode-server" = inputsWithPackages.nixos-vscode-server;
|
"inputs/nixos-vscode-server" = inputsWithPackages.nixos-vscode-server;
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue