diff --git a/README.md b/README.md index 4ef0978..54fdcea 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,15 @@ home-manager switch --flake .#yanlin@ nix flake update ``` +### New Host Installation +```bash +# 1. Initialize disk with disko +sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko --flake .# + +# 2. Install NixOS +sudo nixos-install --flake .# +``` + ### Occasional Commands ```bash # Garbage collection @@ -64,7 +73,6 @@ nixos-rebuild build --flake .# - `oss` - Rebuild NixOS system - `cdf` - Interactive file search with cd - `pwdf` - Get file path interactively -- `zi` - Interactive zoxide with fzf ### Tmux Reminders - Prefix: `Ctrl-a`