31 lines
989 B
Markdown
31 lines
989 B
Markdown
# nixos-laptop
|
|
|
|
NixOS configurations for my personal machines (contrary to the repo's name, it contains a desktop and two servers).
|
|
|
|
Currently managed systems:
|
|
- **sue**: My current laptop, a Dell XPS 9315. It has two flavours:
|
|
- Default running GNOME
|
|
- Specialisation running Cosmic (commented out because building takes too long)
|
|
- **gamepc**: My gaming PC running Cinnamon
|
|
- **warwick**: A Raspberry Pi 4 Model B, which mostly does some monitoring
|
|
- **atlas**: A Gigabyte Brix, running Kubernetes
|
|
|
|
## Deployment
|
|
|
|
Create garbage collection roots like so:
|
|
```
|
|
colmena build --keep-result --experimental-flake-eval
|
|
```
|
|
|
|
To apply to the local machine:
|
|
```
|
|
sudo colmena apply-local --sudo --experimental-flake-eval
|
|
```
|
|
|
|
To apply to all remotely managed systems:
|
|
```
|
|
colmena apply --experimental-flake-eval
|
|
```
|
|
|
|
> [!NOTE]
|
|
> Currently the `--experimental-flake-eval` flag is necessary to properly use Colmena with flakes. See [this PR](https://github.com/zhaofengli/colmena/pull/228).
|