diff --git a/README.md b/README.md index ac7a5df..6b8482e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ +## Install a new host + +This installs nixos on host `somehost`: +```bash +nix-shell -p nixUnstable --run 'nixos-install --flake https://gitlab.jalr.de/jalr/nixos-configuration#somehost --no-channel-copy' +``` + ## nix repl start an interactive environment for evaluating Nix expressions @@ -11,6 +18,7 @@ nix-repl> a=builtins.getFlake (toString ./.) $ nix repl nix-repl> :lf .# +``` ## Import GPG public key