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 Docs
--- ---
* [Hardware Requirements](docs/hardware.md) * [Hardware requirements](docs/hardware.md)
* [Installation](docs/install.md) * [Installation](docs/install.md)
* [Configuration and maintenance](docs/configuration.md) * [Configuration and maintenance](docs/configuration.md)
* [Using services](docs/services.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 install -o '${cfg.user}' -g '${cfg.group}' -m 640 <(echo "$cfg") $confFile
fi fi
''; '';
# Enable RPC access for group # Enable RPC access for group
postStart = '' postStart = ''
chmod g=r '${cfg.dataDir}/${optionalString cfg.regtest "regtest/"}.cookie' chmod g=r '${cfg.dataDir}/${optionalString cfg.regtest "regtest/"}.cookie'
''; '';
serviceConfig = nbLib.defaultHardening // { serviceConfig = nbLib.defaultHardening // {
Type = "notify"; Type = "notify";
NotifyAccess = "all"; NotifyAccess = "all";

View File

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