about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-19 15:07:14 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-19 15:07:14 -0800
commit2561a3361de14537143372b126e16fbb45fd70a6 (patch)
tree8998ce8a2888c021aef0a9daf657033a8d14657d
parentdocs: udpate (diff)
downloadworld-2561a3361de14537143372b126e16fbb45fd70a6.tar.gz
docs: add more steps
-rw-r--r--docs/install.org10
1 files changed, 9 insertions, 1 deletions
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)