Fixed README formatting, Added to Instructions

This commit is contained in:
Kaybee 2024-07-16 12:29:52 +02:00
parent 263def2879
commit 7cae2b99d0

View file

@ -15,29 +15,35 @@ git clone https://git.kb-one.de/kb01/aux-config ~/Projects/aux-config
> **Warning** > **Warning**
> >
> Only do this if you know what you are doing. > Only do this if you know what you are doing.
Now clone your local Git-Repo to /etc/nixos: Now clone your local Git-Repo to /etc/nixos:
```bash ```bash
sudo rm -R /etc/nixos sudo rm -R /etc/nixos
sudo git clone ~/Projects/aux-config /etc/nixos sudo git clone ~/Projects/aux-config /etc/nixos
``` ```
Now When you want to change your System, you Now When you want to change your System, you ...
1. Edit the config in ~/Project/aux-config `vim system/x86_64-linux/$HOST/default.nix` 1. Edit the config in ~/Project/aux-config `vim system/x86_64-linux/$HOST/default.nix`
2. Commit the Changes locally `git commit -m "Some Changes"` 2. Commit the Changes locally `git commit -m "Some Changes"`
3. Now you `cd /etc/nixos` 3. Now you `cd /etc/nixos`
4. Update the Changes `sudo git pull` 4. Update the Changes `sudo git pull --rebase`
5. Build your System to apply the changes `sudo nixos-rebuild switch --flake .` 5. Build your System to apply the changes `sudo nixos-rebuild switch --flake .`
6. If you are Satisfied with your Changes, switch to ~/Projects/aux-config and Push your Changes to the Remote
## Hosts ## Hosts
### HyperC ### HyperC
Surface Pro 2017 Tablet Surface Pro 2017 Tablet
Cpu: Intel i5-7300U Cpu: Intel i5-7300U
Ram: 8GB Ram: 8GB
### yerukall ### yerukall
Lenovo Thinkpad E14 Gen 4 Lenovo Thinkpad E14 Gen 4
Cpu: AMD Ryzen 5 5625U Cpu: AMD Ryzen 5 5625U
Ram: 16GB Ram: 16GB
## License ## License