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 + }