Files
samfelag/README.org
Marc Sastre Rienitz 009e7574e0 Fixed org in README
2022-11-03 20:52:40 +00:00

36 lines
730 B
Org Mode

* Installing
** Fresh system (nixos USB drive)
1. Open a nix-shell with git:
#+BEGIN_SRC bash
nix-shell -p git
#+END_SRC
1. Clone the flake
#+BEGIN_SRC bash
git clone https://git.lajuntament.space/marc/samfelag.git
#+END_SRC
1. Partition the disk
1. Locate the disk
#+BEGIN_SRC bash
lsblk
#+END_SRC
1. Mount the filesystems
1. Create the host nix configuration
If the host is not present under system/hosts, create a new folder for the host.
Generate the hardware configuration file, you can use nixos-generate-config as a base:
#+BEGIN_SRC bash
nixos-generate-config --dir <<host directory>> --no-filesystems
#+END_SRC
1. Install nixos!
#+BEGIN_SRC bash
sudo nixos-install --impure --flake .#reykjavik
#+END_SRC