Remove nginx from microvm

This commit is contained in:
Théo Barnouin 2024-10-13 18:14:35 +02:00
parent 7d969f0c99
commit d95682e940

View file

@ -38,16 +38,11 @@
{
microvm = {
autostart = [
"nginx"
"redis"
"grafana"
"authentik"
];
vms = {
nginx = {
flake = self;
updateFlake = "git+file:///etc/nixos";
};
redis = {
flake = self;
updateFlake = "git+file:///etc/nixos";
@ -110,25 +105,6 @@
inherit system;
};
};
nginx = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
microvm.nixosModules.microvm
"${inputs.self}/systems"
"${inputs.self}/services"
{
services.vm_nginx = {
enable = true;
};
services.vm = {
enable = true;
hostname = "nginx";
vm_ip = proxy_host;
macAddr = "02:00:00:00:00:40";
};
}
];
};
jellyfin = nixpkgs.lib.nixosSystem {
inherit system;
modules = [