From 57dc96de2d49342ec48d53dec3c9d064925ee85d Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Thu, 14 May 2020 19:50:34 +1000 Subject: [PATCH] Added group membership --- roles/cardano-node.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/roles/cardano-node.nix b/roles/cardano-node.nix index 06182cc..f4defc6 100644 --- a/roles/cardano-node.nix +++ b/roles/cardano-node.nix @@ -3,14 +3,21 @@ { config, pkgs, lib, ... }: let + sources = import ../nix/sources.nix; + cardanoNodeProject = import sources.cardano-node {}; + in { imports = [ ../secrets/cardano.nix - (sources.cardano-node + "/nix/nixos") + "${sources.cardano-node}/nix/nixos" + ]; + + environment.systemPackages = [ + cardanoNodeProject.cardano-cli ]; services = { @@ -55,4 +62,6 @@ in }; }; + users.groups.keys.members = [ "cardano-node" ]; # Required due to NixOps issue #1204 + }