We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fd2cff commit b3c793cCopy full SHA for b3c793c
nix/net.nix
@@ -93,10 +93,18 @@ in
93
imports = [
94
(defineResource "sshKeyPairs" ./ssh-keypair.nix)
95
(defineResource "commandOutput" ./command-output.nix)
96
- (defineResource "machines" ./machine-resource.nix)
97
];
98
- machines = config.nodes;
99
- _module.check = false;
+ options.machines = lib.mkOption {
+ description = ''
+ An alias for the `nodes`.
100
+ '';
101
+ readOnly = true;
102
+ type = types.raw;
103
+ };
104
+ config = {
105
+ machines = config.nodes;
106
+ _module.check = false;
107
108
})
109
110
};
0 commit comments