Skip to content

Instantly share code, notes, and snippets.

@erikarvstedt
Created April 8, 2022 13:29
Show Gist options
  • Save erikarvstedt/c664176249a3bd31affa93b16630c103 to your computer and use it in GitHub Desktop.
Save erikarvstedt/c664176249a3bd31affa93b16630c103 to your computer and use it in GitHub Desktop.
{ lib, pkgs, ... }:
{
systemd.services.bitcoind = {
postStart = lib.mkForce "";
serviceConfig = {
Type = lib.mkForce "oneshot";
ExecStart = lib.mkForce "${pkgs.coreutils}/bin/true";
RemainAfterExit = true;
};
};
# Disable banlist loading
systemd.services.bitcoind-import-banlist = mkForce {};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment