forked from Fediversity/Fediversity
reproduce nixops4-nixos importing issue: The option
environments.single-nixos-vm.deployment.<function body>.resources.the-machine.nixos' does not exist`
add comment explaining our nixops4 type problem
This commit is contained in:
parent
5ab9f3afeb
commit
a8fdc72460
1 changed files with 6 additions and 1 deletions
|
@ -139,11 +139,16 @@ in
|
||||||
providers = {
|
providers = {
|
||||||
inherit (inputs.nixops4.modules.nixops4Provider) local;
|
inherit (inputs.nixops4.modules.nixops4Provider) local;
|
||||||
};
|
};
|
||||||
|
# this seems checked according to {providers,resources,resource}.nix,
|
||||||
|
# values will not eagerly get checked, matching `providers.nix`'s `lazyAttrsOf`,
|
||||||
|
# whereas allowed keys seem to match those defined in `resource.nix`.
|
||||||
|
# the content of `resources.the-machine` however, follows `nixops4-nixos`,
|
||||||
|
# which is not allowed through our `type` yet.
|
||||||
resources.the-machine = {
|
resources.the-machine = {
|
||||||
_class = "nixops4Resource";
|
_class = "nixops4Resource";
|
||||||
type = providers.local.exec;
|
type = providers.local.exec;
|
||||||
imports = [
|
imports = [
|
||||||
# inputs.nixops4-nixos.modules.nixops4Resource.nixos
|
inputs.nixops4-nixos.modules.nixops4Resource.nixos
|
||||||
];
|
];
|
||||||
nixos.module =
|
nixos.module =
|
||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
Loading…
Add table
Reference in a new issue