From 2561a3361de14537143372b126e16fbb45fd70a6 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 19 Feb 2022 15:07:14 -0800 Subject: docs: add more steps --- docs/install.org | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/install.org b/docs/install.org index e088d16..5731599 100644 --- a/docs/install.org +++ b/docs/install.org @@ -76,11 +76,19 @@ CUSTOMIZE_TIMESTAMP=$(date -u +%Y%m%dT%H%M%S) btrfs subvolume snapshot /mnt /mnt/.snapshots/$CUSTOMIZE_TIMESTAMP #+end_src * Installing the system +Let's add git and nixFlakes: +#+begin_src sh +nix-shell -p git nixFlakes +#+end_src + #+begin_src sh nixos-generate-config --root /mnt -nixos-install --root /mnt +git clone https://github.com/SakulK/nixos-config.git /mnt/root/nixos +cp /mn/etc/nixos/hardware-configuration.nix /mnt/root/nixos/hosts/... +nixos-install --root /mnt --flake /mnt/root/nixos#??? #+end_src + Create another snapshot #+begin_src sh CUSTOMIZE_TIMESTAMP=$(date -u +%Y%m%dT%H%M%S) -- cgit 1.4.1