diff --git a/README.md b/README.md index 8879e7f..1f6aef3 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ My NixOS configuration. -## Usage +## Installation -Clone the repository to some directory. And build with `sudo nixos-rebuild switch --flake /directory/containing/flake.nix/`. \ No newline at end of file +For disk configuration we use disko, this means that installing the system from the configuration is just a single command: + +``` +sudo nix --experimental-features "nix-command flakes" run "github:nix-community/disko/latest#disko-install" -- --flake git+https://git.bulthuis.dev/Jan/dotfiles# --disk main /dev/sda +``` \ No newline at end of file