nixos-configs/README.md

36 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2024-12-01 15:51:04 +00:00
# nixos-configs
2024-12-01 15:51:04 +00:00
NixOS configurations for the machines I manage.
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 15:51:04 +00:00
- Specialisation running Cosmic
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-12-01 15:51:04 +00:00
- **atlas**: A Gigabyte Brix, one of my Kubernetes nodes
- **jefke**: A Gigabyte Brix, one of my Kubernetes nodes
- **lewis**: A Gigabyte Brix, one of my Kubernetes nodes. Additionally, contains my media collection and does backups.
2024-11-11 21:38:00 +00:00
## Deployment
2024-12-01 15:51:04 +00:00
I use [Colmena](https://colmena.cli.rs) for deploying my machines.
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).