From 167cf0b7ef50025424a722946b52b86c16e53cd3 Mon Sep 17 00:00:00 2001 From: Tristan Druyen Date: Tue, 19 Sep 2023 00:45:55 +0200 Subject: [PATCH] Rework README.md Signed-off-by: Tristan Druyen --- README.md | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7e72605..0ec84e4 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,40 @@ # My nix conf +## 🏗️ System Setup -## Apply disko partitioning from local filesystem +### 👷 "Manual" -``` -sudo nix run github:nix-community/disko -- --mode disko --flake path:$PWD#nixos-pulse +1. Boot Installer +2. Clone repo +3. Setup partitions + ```bash + sudo nix run --extra-experimental-features flakes --extra-experimental-features nix-command github:nix-community/disko -- --mode disko --flake path:$PWD#nixos-pulse + ``` +4. Run installer + ```bash + sudo nixos-install --flake .#nixos-pulse + ``` + +### 🚀 Fully-Automated + + 🚨 This will WIPE EVERYTHING on the specified system
⚠️ ensure proper sshd & firewall key setup for remote systems
+ +```bash +nix run github:numtide/nixos-anywhere -- --flake path:$PWD#nixos-pulse root@1.2.3.4 ``` +## 🔄 Updates -## Apply nixos conf +Run this to keep your system up-to-date. -``` +```bash +nix flake update sudo nixos-rebuild --flake .#nixos-pulse switch ``` + +## 🙏 Made possible by + +- NixOS: https://nixos.org/ + - https://github.com/nix-community/nixos-anywhere + - https://github.com/nix-community/disko +- Caffeine https://en.wikipedia.org/wiki/Caffeine