From 576e5ab9589b0a36a016b4bd17a5173d1aa78c55 Mon Sep 17 00:00:00 2001 From: Jan Grosser Date: Sun, 12 May 2024 00:32:44 +0200 Subject: [PATCH] Corrected command for re-building NixOS --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cfde8a8..859c371 100644 --- a/README.md +++ b/README.md @@ -24,5 +24,5 @@ git clone https://git.plueschbit.de/jan/nixos-conf ~/nixos b) `cp /etc/nixos/*.nix $HOSTNAME/.` c) Edit `~/nixos/flake.nix` and add section for new host d) Stage new config files: `git add flake.nix hosts/$HOSTNAME/*`. Otherwise, nixos-rebuild will refuse to work with the files. -7. Apply config: `sudo nixos-rebuild ~/nixos/$HOSTNAME` +8. Apply config: `sudo nixos-rebuild switch --flake ~/nixos/#`