diff --git a/README.md b/README.md index 8e7d9a1..1743fbb 100644 --- a/README.md +++ b/README.md @@ -7,4 +7,4 @@ The list of generated files are: - [docs/cheatsheet.md](docs/cheatsheet.md) - [README.md](README.md) ## Structure -The system configurations are defined in [`flake.hostSpec`](nix/hostSpec.nix). +The system configurations are defined in [`flake.manifest`](nix/manifest.nix). diff --git a/nix/configurations/nixos.nix b/nix/configurations/nixos.nix index 16e8ba6..93fa7e4 100644 --- a/nix/configurations/nixos.nix +++ b/nix/configurations/nixos.nix @@ -2,7 +2,7 @@ let inherit (cfg.lib) extractConfigurations; cfg = config.flake; - hosts = cfg.hostSpec.hosts or { }; + hosts = cfg.manifest.hosts or { }; in { flake.nixosConfigurations = extractConfigurations "nixos/" hosts; diff --git a/nix/flake-parts/files/readme.nix b/nix/flake-parts/files/readme.nix index b129f3f..b4bb006 100644 --- a/nix/flake-parts/files/readme.nix +++ b/nix/flake-parts/files/readme.nix @@ -8,7 +8,7 @@ ''; 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). ''; }; diff --git a/nix/hostSpec.nix b/nix/manifest.nix similarity index 97% rename from nix/hostSpec.nix rename to nix/manifest.nix index 244bb92..6ce52fc 100644 --- a/nix/hostSpec.nix +++ b/nix/manifest.nix @@ -8,7 +8,7 @@ let }; in { - flake.hostSpec.hosts = { + flake.manifest.hosts = { "nixos/test".extraCfg = testCfg; "nixos/nemesis" = { machine = {