diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/install.org | 10 |
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) |