forked from DGNum/infrastructure
meta: Start members, groups and nodes
This commit is contained in:
parent
91cf28e9d1
commit
fa3bb51477
3 changed files with 40 additions and 0 deletions
6
meta/default.nix
Normal file
6
meta/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
let
|
||||
members = import ./members.nix;
|
||||
nodes = import ./nodes.nix;
|
||||
in
|
||||
|
||||
{ inherit members nodes; }
|
21
meta/members.nix
Normal file
21
meta/members.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
let
|
||||
members = {
|
||||
mdebray = {
|
||||
name = "Maurice Debray";
|
||||
email = "maurice.debray@dgnum.eu";
|
||||
};
|
||||
|
||||
thubrecht = {
|
||||
name = "Tom Hubrecht";
|
||||
email = "tom.hubrecht@dgnum.eu";
|
||||
};
|
||||
};
|
||||
|
||||
groups = {
|
||||
root = [ "thubrecht" ];
|
||||
|
||||
web = [ "mdebray" ];
|
||||
};
|
||||
in
|
||||
|
||||
{ inherit groups members; }
|
13
meta/nodes.nix
Normal file
13
meta/nodes.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
web-01 = {
|
||||
adminGroups = [ "web" ];
|
||||
admins = [ ];
|
||||
|
||||
deployment = {
|
||||
tags = [ "web" ];
|
||||
targetHost = "129.199.129.200";
|
||||
};
|
||||
|
||||
nixpkgs = "unstable";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue