stripped module down to bare

This commit is contained in:
Bryan Ramos 2024-05-15 00:01:09 -04:00
parent d500c0f299
commit 1e7ced1098
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
2 changed files with 6 additions and 8 deletions

View file

@ -1,7 +1,5 @@
{ home, ... }:
let let
daemonDir = /var/lib/bitcoin; daemonDir = "/var/lib/bitcoin";
in in
'' ''
@ -11,7 +9,7 @@ in
cookie-file = "${daemonDir}/.cookie" cookie-file = "${daemonDir}/.cookie"
db_dir = "${home}/db" db_dir = "/var/lib/electrs/db"
log_filters = "INFO" log_filters = "INFO"
timestamp = true timestamp = true

View file

@ -7,7 +7,7 @@ let
btc = config.modules.system.bitcoin; btc = config.modules.system.bitcoin;
conf = pkgs.writeText "config.toml" (import ./config { inherit home; }); conf = pkgs.writeText "config.toml" (import ./config);
in in
{ options.modules.system.bitcoin.electrum = { enable = mkEnableOption "system.bitcoin.electrum"; }; { options.modules.system.bitcoin.electrum = { enable = mkEnableOption "system.bitcoin.electrum"; };
@ -26,9 +26,9 @@ in
# }) # })
#]; #];
#environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# electrs electrs
#]; ];
#users = { #users = {
# users = { # users = {