operator: allow reading systemd journal

This commit is contained in:
Erik Arvstedt 2020-04-08 23:30:10 +02:00
parent 145961c2de
commit bceaa361ca
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
1 changed files with 4 additions and 1 deletions

View File

@ -118,7 +118,10 @@ in {
# Create user 'operator' which can access the node's services
users.users.operator = {
isNormalUser = true;
extraGroups = [ cfg.bitcoind.group ]
extraGroups = [
"systemd-journal"
cfg.bitcoind.group
]
++ (optionals cfg.clightning.enable [ "clightning" ])
++ (optionals cfg.lnd.enable [ "lnd" ])
++ (optionals cfg.liquidd.enable [ cfg.liquidd.group ])