minor fixes
- README: fix uppercase - bitcoind: add whitespace - hardware-wallets: remove unused variables
This commit is contained in:
parent
627b11d21b
commit
1596b3a5d2
@ -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)
|
||||||
|
@ -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";
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user