From 7cae2b99d094f7e719f24cf39fa76fc3066d34fd Mon Sep 17 00:00:00 2001 From: kB01 Date: Tue, 16 Jul 2024 12:29:52 +0200 Subject: [PATCH] Fixed README formatting, Added to Instructions --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 01ae5fc..cb4fb6a 100644 --- a/README.md +++ b/README.md @@ -15,29 +15,35 @@ git clone https://git.kb-one.de/kb01/aux-config ~/Projects/aux-config > **Warning** > > Only do this if you know what you are doing. + Now clone your local Git-Repo to /etc/nixos: ```bash sudo rm -R /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` 2. Commit the Changes locally `git commit -m "Some Changes"` 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 .` +6. If you are Satisfied with your Changes, switch to ~/Projects/aux-config and Push your Changes to the Remote ## Hosts ### HyperC Surface Pro 2017 Tablet + Cpu: Intel i5-7300U + Ram: 8GB ### yerukall Lenovo Thinkpad E14 Gen 4 + Cpu: AMD Ryzen 5 5625U + Ram: 16GB ## License