Skip to main content
  1. ZaneyOS Documentation/
  2. ZaneyOS 2.3 Documentation/

How To Install ZaneyOS

1 min· 0 · 0 · ·
Zaney
Docs NixOS ZaneyOS
Table of Contents
ZaneyOS 2.3 Docs - This article is part of a series.
Part 4: This Article

⬇️ Install #

📜 Script: #

This is the easiest and recommended way of starting out. The script is not meant to allow you to change every option that you can in the flake or help you install extra packages. It is simply here so you can get my configuration installed with as little chances of breakages and then fiddle to your hearts content!

Simply copy this and run it:

nix-shell -p git curl

Then:

sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/main/install-zaneyos.sh)

🦽 Manual: #

Run this command to ensure Git & Vim are 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

Create the host folder for your machine(s)

cp -r hosts/default hosts/<your-desired-hostname>

🪧🪧🪧 Edit hosts/<your-desired-hostname>/config.nix and hosts/<your-desired-hostname>/variables.nix 🪧🪧🪧

Generate your hardware.nix like so:

nixos-generate-config --show-hardware-config > hosts/<your-desired-hostname>/hardware.nix

Run this to enable flakes and install the flake replacing hostname with whatever you put as the hostname:

NIX_CONFIG="experimental-features = nix-command flakes" 
sudo nixos-rebuild switch --flake .#hostname

Now when you want to rebuild the configuration you have access to an alias called fr that will rebuild the flake and you do not have to be in the zaneyos folder for it to work.

Hope you enjoy!

ZaneyOS 2.3 Docs - This article is part of a series.
Part 4: This Article

Related

How The Config Files Work
2 mins· 0 · 0
Zaney
Docs NixOS ZaneyOS
How To Theme & Use ZaneyOS
3 mins· 0 · 0
Zaney
Docs NixOS ZaneyOS
My NixOS Configuration: ZaneyOS Explained
5 mins· 0 · 0
Zaney
Docs NixOS ZaneyOS
How To Install ZaneyOS
2 mins· 0 · 0
Zaney
Docs NixOS ZaneyOS
ZaneyOS 2.2 Documentation
9 mins· 0 · 0
Zaney
Docs NixOS ZaneyOS
ZaneyOS 2.1 Documentation
8 mins· 0 · 0
Zaney
Docs NixOS ZaneyOS