Skip to content

Commit

Permalink
operator: allow reading systemd journal
Browse files Browse the repository at this point in the history
  • Loading branch information
erikarvstedt committed Apr 9, 2020
1 parent 145961c commit bceaa36
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/presets/secure-node.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ])
Expand Down

0 comments on commit bceaa36

Please sign in to comment.