pub-solar-os/suites
2021-02-14 02:46:05 -07:00
..
default.nix suites: mv to dir 2021-02-06 01:31:48 -07:00
README.md doc: new mdbook documentation 2021-02-14 02:46:05 -07:00

Suites

Suites provide a mechanism for users to easily combine and name collecitons of profiles. For good examples, check out the suites defined in the community branch.

In the future, we will use suites as a mechanism for deploying various machine types which don't depend on hardware, such as vm's and containers.

Definition

rec {
  workstation = [ profiles.develop profiles.graphical users.nixos ];
  mobileWS = workstation ++ [ profiles.laptop ];
}

Usage

hosts/my-laptop.nix:

{ suites, ... }:
{
  imports = suites.mobileWS;
}