From 85c962fd6d8de7db03bdbb863f962d2af1f7e2c0 Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Thu, 29 May 2025 17:04:58 +0200 Subject: [PATCH] Updated REAME.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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