minor fixes

- README: fix uppercase

- bitcoind: add whitespace

- hardware-wallets: remove unused variables
This commit is contained in:
Erik Arvstedt 2021-12-07 15:28:10 +01:00
parent 627b11d21b
commit 1596b3a5d2
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
3 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ Get started
Docs
---
* [Hardware Requirements](docs/hardware.md)
* [Hardware requirements](docs/hardware.md)
* [Installation](docs/install.md)
* [Configuration and maintenance](docs/configuration.md)
* [Using services](docs/services.md)

View File

@ -398,10 +398,12 @@ in {
install -o '${cfg.user}' -g '${cfg.group}' -m 640 <(echo "$cfg") $confFile
fi
'';
# Enable RPC access for group
postStart = ''
chmod g=r '${cfg.dataDir}/${optionalString cfg.regtest "regtest/"}.cookie'
'';
serviceConfig = nbLib.defaultHardening // {
Type = "notify";
NotifyAccess = "all";

View File

@ -27,8 +27,6 @@ let
};
cfg = config.services.hardware-wallets;
dataDir = "/var/lib/hardware-wallets/";
enabled = cfg.ledger || cfg.trezor;
in {
inherit options;