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 '<home-manager>' -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 . ```