refactor: rename hostSpec to manifest and update references
This commit is contained in:
parent
2dd8d0f73d
commit
c49beb7c57
4 changed files with 4 additions and 4 deletions
|
@ -7,4 +7,4 @@ The list of generated files are:
|
||||||
- [docs/cheatsheet.md](docs/cheatsheet.md)
|
- [docs/cheatsheet.md](docs/cheatsheet.md)
|
||||||
- [README.md](README.md)
|
- [README.md](README.md)
|
||||||
## Structure
|
## Structure
|
||||||
The system configurations are defined in [`flake.hostSpec`](nix/hostSpec.nix).
|
The system configurations are defined in [`flake.manifest`](nix/manifest.nix).
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
let
|
let
|
||||||
inherit (cfg.lib) extractConfigurations;
|
inherit (cfg.lib) extractConfigurations;
|
||||||
cfg = config.flake;
|
cfg = config.flake;
|
||||||
hosts = cfg.hostSpec.hosts or { };
|
hosts = cfg.manifest.hosts or { };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
flake.nixosConfigurations = extractConfigurations "nixos/" hosts;
|
flake.nixosConfigurations = extractConfigurations "nixos/" hosts;
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
'';
|
'';
|
||||||
parts."Structure" = # markdown
|
parts."Structure" = # markdown
|
||||||
''
|
''
|
||||||
The system configurations are defined in [`flake.hostSpec`](nix/hostSpec.nix).
|
The system configurations are defined in [`flake.manifest`](nix/manifest.nix).
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
flake.hostSpec.hosts = {
|
flake.manifest.hosts = {
|
||||||
"nixos/test".extraCfg = testCfg;
|
"nixos/test".extraCfg = testCfg;
|
||||||
"nixos/nemesis" = {
|
"nixos/nemesis" = {
|
||||||
machine = {
|
machine = {
|
Loading…
Add table
Add a link
Reference in a new issue