refactor: make nanuqsaurus module-based; keep btrfs install profile

This commit is contained in:
randogoth 2026-02-04 20:53:05 +02:00
parent e640b43b2f
commit bb138278f1
13 changed files with 218 additions and 173 deletions

View file

@ -1,13 +1,19 @@
> under heavy development
## Install in place
## Adopt on an existing NixOS install (recommended)
Use a small local wrapper flake that imports this repos profile module and keeps
your machines `hardware-configuration.nix` for mounts/boot:
- `docs/adopt.md`
## Fresh install (wipes disk, uses disko)
```
sudo nixos-rebuild switch --flake "git+https://codeberg.org/randogoth/nanuqsaurus.git#nanuqsaurus"
sudo nix --experimental-features "nix-command flakes" \
run github:nix-community/disko/latest#disko-install -- \
--mode format \
--flake "git+https://codeberg.org/randogoth/nanuqsaurus.git#nanuqsaurus-btrfs" \
--disk main /dev/disk/by-id/<your-disk> \
--mount-point /mnt
```
## Install to a mounted target root (/mnt)
```
sudo nixos-install --root /mnt --flake "git+https://codeberg.org/randogoth/nanuqsaurus.git#nanuqsaurus"
```