Added group membership
This commit is contained in:
parent
aebf5eaa76
commit
57dc96de2d
|
@ -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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue