From 263def2879ca03de79fcb9abb335f9a781b7c1a6 Mon Sep 17 00:00:00 2001 From: kB01 Date: Tue, 16 Jul 2024 12:26:24 +0200 Subject: [PATCH] Updated Readme --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/README.md b/README.md index ef44620..01ae5fc 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,28 @@ This repository contains my NixOS Configuration Files. +## Usage +Clone this Repository somewhere you can edit it easily: +```bash +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 +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` +5. Build your System to apply the changes `sudo nixos-rebuild switch --flake .` + ## Hosts ### HyperC @@ -13,6 +35,11 @@ Surface Pro 2017 Tablet Cpu: Intel i5-7300U Ram: 8GB +### yerukall +Lenovo Thinkpad E14 Gen 4 +Cpu: AMD Ryzen 5 5625U +Ram: 16GB + ## License [MIT © kB01](../LICENSE)