We want each machine not only to be exposed via nixosConfigurations but also as a module. This allows re-importing the machine in tests and override the architecture for example.
22 lines
546 B
Nix
22 lines
546 B
Nix
/**
|
|
Publicly exported attribute names
|
|
These are mapped from 'options.clan.{name}' into 'flake.{name}'
|
|
For example "clanInternals" will be exposed as "flake.clan.clanInternals"
|
|
This list is used to guarantee equivalent attribute sets for both flake-parts and buildClan users.
|
|
*/
|
|
{
|
|
# flake.clan.{name} <- clanInternals.{name}
|
|
clan = [
|
|
"templates"
|
|
"modules"
|
|
];
|
|
# flake.{name} <- clan.{name}
|
|
topLevel = [
|
|
"clanInternals"
|
|
"nixosConfigurations"
|
|
"nixosModules"
|
|
"darwinConfigurations"
|
|
"darwinModules"
|
|
];
|
|
}
|