Rework README.md

Signed-off-by: Tristan Druyen <tristan@vault81.de>
This commit is contained in:
Tristan D. 2023-09-19 00:45:55 +02:00
parent ea93b74da5
commit 167cf0b7ef
Signed by: tristan
SSH key fingerprint: SHA256:U7y6eMb7CQDaTHv9XoX6/BaQnPqyxxKc+Xnfcefi6rY

View file

@ -1,15 +1,40 @@
# My nix conf # My nix conf
## 🏗️ System Setup
## Apply disko partitioning from local filesystem ### 👷 "Manual"
``` 1. Boot Installer
sudo nix run github:nix-community/disko -- --mode disko --flake path:$PWD#nixos-pulse 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
<sub> 🚨 This will WIPE EVERYTHING on the specified system <br> ⚠️ ensure proper sshd & firewall key setup for remote systems </sub>
```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 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