Added group membership

This commit is contained in:
Craige McWhirter 2020-05-14 19:50:34 +10:00
parent aebf5eaa76
commit 57dc96de2d
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -3,14 +3,21 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let let
sources = import ../nix/sources.nix; sources = import ../nix/sources.nix;
cardanoNodeProject = import sources.cardano-node {};
in in
{ {
imports = [ imports = [
../secrets/cardano.nix ../secrets/cardano.nix
(sources.cardano-node + "/nix/nixos") "${sources.cardano-node}/nix/nixos"
];
environment.systemPackages = [
cardanoNodeProject.cardano-cli
]; ];
services = { services = {
@ -55,4 +62,6 @@ in
}; };
}; };
users.groups.keys.members = [ "cardano-node" ]; # Required due to NixOps issue #1204
} }