about summary refs log tree commit diff
path: root/docs/install.org
diff options
context:
space:
mode:
Diffstat (limited to 'docs/install.org')
-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)