Merge pull request 'docs/guide: Deduplicate machine instructions' (#2924) from kenji/clan-core:docs/dedup-machines into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2924
This commit is contained in:
@@ -138,10 +138,10 @@ refer to the [Disko templates](https://github.com/nix-community/disko-templates)
|
|||||||
|
|
||||||
### (Optional): Renaming Machine
|
### (Optional): Renaming Machine
|
||||||
|
|
||||||
If you wish to name your machine to something else, do the following steps:
|
For renaming jon to your own machine name, you can use the following command:
|
||||||
|
|
||||||
```
|
```
|
||||||
mv ./machines/jon/configuration.nix ./machines/newname/configuration.nix
|
git mv ./machines/jon ./machines/newname
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that our clan lives inside a git repository.
|
Note that our clan lives inside a git repository.
|
||||||
@@ -152,11 +152,6 @@ So for every file that you add or rename you also need to run:
|
|||||||
git add ./path/to/my/file
|
git add ./path/to/my/file
|
||||||
```
|
```
|
||||||
|
|
||||||
For renaming jon to your own machine name, you can use the following command:
|
|
||||||
|
|
||||||
```
|
|
||||||
git mv ./machines/jon ./machines/newname
|
|
||||||
```
|
|
||||||
|
|
||||||
### (Optional): Removing a Machine
|
### (Optional): Removing a Machine
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user