From 26b41feeef730d73aa6c8fee7a751865a9653f74 Mon Sep 17 00:00:00 2001 From: Lorenz Hohermuth Date: Mon, 5 Aug 2024 08:31:53 +0200 Subject: [PATCH] added setup and rebuilding to readme --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 241f546..00227c8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,21 @@ # nix-config +# setup +```bash +git clone https://git.lorenzzz.dev/lorenzhohermuth/nix-config.git && cd nix-config + +nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager +nix-channel --update + +nix-shell '' -A install +``` + # rebuild nixos ```bash -sudo nixos-rebuild switch -I nixos-config=./configuration.nix +sudo nixos-rebuild switch --flake . +``` + +# rebuild home-manager +```bash +home-manager switch --flake . ```