diff --git a/meta/default.nix b/meta/default.nix new file mode 100644 index 0000000..54f88a0 --- /dev/null +++ b/meta/default.nix @@ -0,0 +1,6 @@ +let + members = import ./members.nix; + nodes = import ./nodes.nix; +in + +{ inherit members nodes; } diff --git a/meta/members.nix b/meta/members.nix new file mode 100644 index 0000000..3ddbfd0 --- /dev/null +++ b/meta/members.nix @@ -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; } diff --git a/meta/nodes.nix b/meta/nodes.nix new file mode 100644 index 0000000..6eb18fe --- /dev/null +++ b/meta/nodes.nix @@ -0,0 +1,13 @@ +{ + web-01 = { + adminGroups = [ "web" ]; + admins = [ ]; + + deployment = { + tags = [ "web" ]; + targetHost = "129.199.129.200"; + }; + + nixpkgs = "unstable"; + }; +}