Remove nginx from microvm
This commit is contained in:
parent
7d969f0c99
commit
d95682e940
1 changed files with 0 additions and 24 deletions
24
flake.nix
24
flake.nix
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue