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

730 B

Installing

Fresh system (nixos USB drive)

  1. Open a nix-shell with git:
nix-shell -p git
  1. Clone the flake
git clone https://git.lajuntament.space/marc/samfelag.git
  1. Partition the disk

    1. Locate the disk
    lsblk
  2. Mount the filesystems
  3. 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:

nixos-generate-config --dir <<host directory>> --no-filesystems
  1. Install nixos!
sudo nixos-install --impure --flake .#reykjavik