mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 16:39:42 -04:00
stripped module down to bare
This commit is contained in:
parent
d500c0f299
commit
1e7ced1098
2 changed files with 6 additions and 8 deletions
|
|
@ -1,7 +1,5 @@
|
|||
{ home, ... }:
|
||||
|
||||
let
|
||||
daemonDir = /var/lib/bitcoin;
|
||||
daemonDir = "/var/lib/bitcoin";
|
||||
|
||||
in
|
||||
''
|
||||
|
|
@ -11,7 +9,7 @@ in
|
|||
|
||||
cookie-file = "${daemonDir}/.cookie"
|
||||
|
||||
db_dir = "${home}/db"
|
||||
db_dir = "/var/lib/electrs/db"
|
||||
|
||||
log_filters = "INFO"
|
||||
timestamp = true
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ let
|
|||
|
||||
btc = config.modules.system.bitcoin;
|
||||
|
||||
conf = pkgs.writeText "config.toml" (import ./config { inherit home; });
|
||||
conf = pkgs.writeText "config.toml" (import ./config);
|
||||
|
||||
in
|
||||
{ options.modules.system.bitcoin.electrum = { enable = mkEnableOption "system.bitcoin.electrum"; };
|
||||
|
|
@ -26,9 +26,9 @@ in
|
|||
# })
|
||||
#];
|
||||
|
||||
#environment.systemPackages = with pkgs; [
|
||||
# electrs
|
||||
#];
|
||||
environment.systemPackages = with pkgs; [
|
||||
electrs
|
||||
];
|
||||
|
||||
#users = {
|
||||
# users = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue