Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixus.groups: added ability to put nodes into groups #42

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

eyJhb
Copy link
Collaborator

@eyJhb eyJhb commented Jan 13, 2022

This allows for declaring groups of nodes, ie. all home computers, all servers, VPS, etc. which allows to deploy one group at a time.
Example configuration could be:

{
  groups = {
    home.members = [
        "router"
        "server1"
        "eos"
    ];
    vps.members = [
        "vps1"
        "vps2"
        "vps3"
    ];
  };
}

And then building the script using nix-build -A config.groups.vps.deployScript deploy/.

I am unsure of having defaults that should be set for each group, would be a nice addition (also not sure how to implement it best).

TODO

  • Need to add descriptions

@eyJhb eyJhb changed the title added groups module for grouping nodes WIP: added groups module for grouping nodes Jan 13, 2022
@eyJhb eyJhb changed the title WIP: added groups module for grouping nodes nixus.groups: added ability to put nodes into groups Jan 14, 2022
@infinisil infinisil force-pushed the master branch 2 times, most recently from 71ac68e to 0104013 Compare May 26, 2023 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant