machines no longer need to be specified in buildClan

This commit is contained in:
Jörg Thalheim
2024-12-03 21:49:23 +01:00
parent 041547b317
commit 4d8ca2d635
2 changed files with 6 additions and 17 deletions

View File

@@ -37,13 +37,6 @@ In the `flake.nix` file:
meta.name = "Lobsters";
# Should usually point to the directory of flake.nix
directory = ./.;
machines = {
jon = {
# ...
};
# ...
}
}
```
@@ -55,13 +48,6 @@ In the `flake.nix` file:
clan = {
# Set a unique name
meta.name = "Lobsters";
machines = {
jon = {
# ...
};
# ...
}
};
```

View File

@@ -13,14 +13,17 @@
# Ensure this is unique among all clans you want to use.
meta.name = "__CHANGE_ME__";
# All machines in the ./machines will be imported.
# Prerequisite: boot into the installer.
# See: https://docs.clan.lol/getting-started/installer
# local> mkdir -p ./machines/machine1
# local> Edit ./machines/<machine>/configuration.nix to your liking.
machines = {
# The name will be used as hostname by default.
jon = { };
sara = { };
# You can also specify additional machines here.
# somemachine = {
# imports = [ ./some-machine/configuration.nix ];
# }
};
};
in