nixos-configs/README.md

31 lines
942 B
Markdown
Raw Normal View History

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