flake

Francesco Saccone's Nix flake.
git clone git://git.francescosaccone.com/flake
Log | Files | Refs | README | LICENSE

commit bd15c750f2c14c4add62ef7dc0ae61cc9d68e913
parent 2de806d166ab66b0c3262672e514a93f17e71cfc
Author: Francesco Saccone <francesco@francescosaccone.com>
Date:   Thu, 27 Mar 2025 15:13:39 +0100

chore: fix wrong usage of nixos-rebuild in laptop installation

Signed-off-by: Francesco Saccone <francesco@francescosaccone.com>

Diffstat:
MREADME | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/README b/README @@ -29,10 +29,11 @@ See <https://nix-community.github.io/nixos-anywhere> for more information. When instead I want to install my laptop configuration I would retrieve the official minimal ISO image from <https://nixos.org/download>, clone this -repository, generate the hardware configuration file and use nixos-rebuild: +repository, generate the hardware configuration file and use nixos-install: + # Disk partitioning, etc. nixos-generate-config --show-hardware-config > hardware/laptop/default.nix - nixos-rebuild switch --flake .#laptop + nixos-install --root /mnt --flake .#server --no-root-password Usage -----