diff --git a/modules/lightning-charge.nix b/modules/lightning-charge.nix index a6d6b19..bd0e371 100644 --- a/modules/lightning-charge.nix +++ b/modules/lightning-charge.nix @@ -39,7 +39,7 @@ in { Restart = "on-failure"; RestartSec = "10s"; } // nix-bitcoin-services.defaultHardening - // nix-bitcoin-services.node + // nix-bitcoin-services.nodejs // nix-bitcoin-services.allowTor; }; }; diff --git a/modules/nanopos.nix b/modules/nanopos.nix index 729f65c..300da4b 100644 --- a/modules/nanopos.nix +++ b/modules/nanopos.nix @@ -75,7 +75,7 @@ in { Restart = "on-failure"; RestartSec = "10s"; } // nix-bitcoin-services.defaultHardening - // nix-bitcoin-services.node + // nix-bitcoin-services.nodejs // nix-bitcoin-services.allowTor; }; }; diff --git a/modules/nix-bitcoin-services.nix b/modules/nix-bitcoin-services.nix index ac687cc..685d668 100644 --- a/modules/nix-bitcoin-services.nix +++ b/modules/nix-bitcoin-services.nix @@ -21,8 +21,8 @@ let in { inherit defaultHardening; - # node applications apparently rely on memory write execute - node = { MemoryDenyWriteExecute = "false"; }; + # nodejs applications apparently rely on memory write execute + nodejs = { MemoryDenyWriteExecute = "false"; }; # Allow tor traffic. Allow takes precedence over Deny. allowTor = { IPAddressAllow = "127.0.0.1/32 ::1/128"; diff --git a/modules/spark-wallet.nix b/modules/spark-wallet.nix index 2a6de71..e2d6226 100644 --- a/modules/spark-wallet.nix +++ b/modules/spark-wallet.nix @@ -65,7 +65,7 @@ in { Restart = "on-failure"; RestartSec = "10s"; } // nix-bitcoin-services.defaultHardening - // nix-bitcoin-services.node + // nix-bitcoin-services.nodejs // nix-bitcoin-services.allowTor; }; };