Post-migration cleanups

This commit is contained in:
Pim Kunis 2024-12-01 16:51:04 +01:00
parent 52a4563192
commit f38f17af41
2 changed files with 9 additions and 17 deletions

View file

@ -1,17 +1,21 @@
# nixos-laptop # nixos-configs
NixOS configurations for my personal machines (contrary to the repo's name, it contains a desktop and two servers). NixOS configurations for the machines I manage.
Currently managed systems: Currently managed systems:
- **sue**: My current laptop, a Dell XPS 9315. It has two flavours: - **sue**: My current laptop, a Dell XPS 9315. It has two flavours:
- Default running GNOME - Default running GNOME
- Specialisation running Cosmic (commented out because building takes too long) - Specialisation running Cosmic
- **gamepc**: My gaming PC running Cinnamon - **gamepc**: My gaming PC running Cinnamon
- **warwick**: A Raspberry Pi 4 Model B, which mostly does some monitoring - **warwick**: A Raspberry Pi 4 Model B, which mostly does some monitoring
- **atlas**: A Gigabyte Brix, running Kubernetes - **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.
## Deployment ## Deployment
I use [Colmena](https://colmena.cli.rs) for deploying my machines.
Create garbage collection roots like so: Create garbage collection roots like so:
``` ```
colmena build --keep-result --experimental-flake-eval colmena build --keep-result --experimental-flake-eval

View file

@ -27,18 +27,6 @@
})) }))
]; ];
# TODO: Remove this once they are migrated to this repo.
compat = map (
name: {
job_name = name;
static_configs = [
{
targets = ["${name}.dmz:${toString config.services.prometheus.exporters.node.port}"];
}
];
}
) ["lewis" "jefke"];
pikvm = { pikvm = {
job_name = "pikvm"; job_name = "pikvm";
metrics_path = "/api/export/prometheus/metrics"; metrics_path = "/api/export/prometheus/metrics";
@ -58,7 +46,7 @@
]; ];
}; };
in in
generated ++ compat ++ [pikvm] generated ++ [pikvm]
); );
}; };