machines no longer need to be specified in buildClan
This commit is contained in:
@@ -37,13 +37,6 @@ In the `flake.nix` file:
|
|||||||
meta.name = "Lobsters";
|
meta.name = "Lobsters";
|
||||||
# Should usually point to the directory of flake.nix
|
# Should usually point to the directory of flake.nix
|
||||||
directory = ./.;
|
directory = ./.;
|
||||||
|
|
||||||
machines = {
|
|
||||||
jon = {
|
|
||||||
# ...
|
|
||||||
};
|
|
||||||
# ...
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -55,13 +48,6 @@ In the `flake.nix` file:
|
|||||||
clan = {
|
clan = {
|
||||||
# Set a unique name
|
# Set a unique name
|
||||||
meta.name = "Lobsters";
|
meta.name = "Lobsters";
|
||||||
|
|
||||||
machines = {
|
|
||||||
jon = {
|
|
||||||
# ...
|
|
||||||
};
|
|
||||||
# ...
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -13,14 +13,17 @@
|
|||||||
# Ensure this is unique among all clans you want to use.
|
# Ensure this is unique among all clans you want to use.
|
||||||
meta.name = "__CHANGE_ME__";
|
meta.name = "__CHANGE_ME__";
|
||||||
|
|
||||||
|
# All machines in the ./machines will be imported.
|
||||||
|
|
||||||
# Prerequisite: boot into the installer.
|
# Prerequisite: boot into the installer.
|
||||||
# See: https://docs.clan.lol/getting-started/installer
|
# See: https://docs.clan.lol/getting-started/installer
|
||||||
# local> mkdir -p ./machines/machine1
|
# local> mkdir -p ./machines/machine1
|
||||||
# local> Edit ./machines/<machine>/configuration.nix to your liking.
|
# local> Edit ./machines/<machine>/configuration.nix to your liking.
|
||||||
machines = {
|
machines = {
|
||||||
# The name will be used as hostname by default.
|
# You can also specify additional machines here.
|
||||||
jon = { };
|
# somemachine = {
|
||||||
sara = { };
|
# imports = [ ./some-machine/configuration.nix ];
|
||||||
|
# }
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|||||||
Reference in New Issue
Block a user