refactor: make nanuqsaurus module-based; keep btrfs install profile
This commit is contained in:
parent
e640b43b2f
commit
bb138278f1
13 changed files with 218 additions and 173 deletions
22
README.md
22
README.md
|
|
@ -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 repo’s profile module and keeps
|
||||
your machine’s `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"
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue