Remove redis microvm (lxc migration)

This commit is contained in:
Théo Barnouin 2024-10-15 19:47:21 +02:00
parent d95682e940
commit 0b8e7b45d8

View file

@ -38,15 +38,10 @@
{ {
microvm = { microvm = {
autostart = [ autostart = [
"redis"
"grafana" "grafana"
"authentik" "authentik"
]; ];
vms = { vms = {
redis = {
flake = self;
updateFlake = "git+file:///etc/nixos";
};
grafana = { grafana = {
flake = self; flake = self;
updateFlake = "git+file:///etc/nixos"; updateFlake = "git+file:///etc/nixos";
@ -126,25 +121,6 @@
} }
]; ];
}; };
redis = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
microvm.nixosModules.microvm
"${inputs.self}/systems"
"${inputs.self}/services"
{
services.vm_redis = {
enable = true;
};
services.vm = {
enable = true;
hostname = "redis";
vm_ip = "192.168.1.16";
macAddr = "02:00:00:00:00:16";
};
}
];
};
grafana = nixpkgs.lib.nixosSystem { grafana = nixpkgs.lib.nixosSystem {
inherit system; inherit system;
modules = [ modules = [