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 = { microvm = {
autostart = [ autostart = [
"nginx"
"redis" "redis"
"grafana" "grafana"
"authentik" "authentik"
]; ];
vms = { vms = {
nginx = {
flake = self;
updateFlake = "git+file:///etc/nixos";
};
redis = { redis = {
flake = self; flake = self;
updateFlake = "git+file:///etc/nixos"; updateFlake = "git+file:///etc/nixos";
@ -110,25 +105,6 @@
inherit system; 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 { jellyfin = nixpkgs.lib.nixosSystem {
inherit system; inherit system;
modules = [ modules = [