From ce492ef2e717fc62bcfcda81d606730d2616d63e Mon Sep 17 00:00:00 2001 From: Tyler Kelley Date: Tue, 13 Feb 2024 01:40:09 +0000 Subject: [PATCH] Create Installation Guide --- Installation-Guide.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Installation-Guide.md diff --git a/Installation-Guide.md b/Installation-Guide.md new file mode 100644 index 0000000..1c5433f --- /dev/null +++ b/Installation-Guide.md @@ -0,0 +1,29 @@ +- Run this command to ensure Git is installed: + +``` +nix-shell -p git vim +``` + +- Clone this repo & enter it: + +``` +git clone https://gitlab.com/zaney/zaneyos.git +cd zaneyos +``` + +- *You should stay in this folder for the rest of the install* +- Change any options in options.nix as needed. +- Generate your hardware.nix like so: + +``` +nixos-generate-config --show-hardware-config > hardware.nix +``` + +- Run this to enable flakes and install the flake: + +``` +NIX_CONFIG="experimental-features = nix-command flakes" +sudo nixos-rebuild switch --flake .#thehostnameyousetinoptions.nix +``` + +### You Are Done! \ No newline at end of file