diff --git a/flake.nix b/flake.nix index 62f9139..a3579a4 100644 --- a/flake.nix +++ b/flake.nix @@ -39,7 +39,6 @@ microvm = { autostart = [ "nginx" - "redis" "grafana" "authentik" ]; @@ -48,10 +47,6 @@ flake = self; updateFlake = "git+file:///etc/nixos"; }; - redis = { - flake = self; - updateFlake = "git+file:///etc/nixos"; - }; grafana = { flake = self; updateFlake = "git+file:///etc/nixos"; @@ -146,19 +141,12 @@ redis = nixpkgs.lib.nixosSystem { inherit system; modules = [ - microvm.nixosModules.microvm - "${inputs.self}/systems" "${inputs.self}/services" { + networking.hostName = "redis"; services.vm_redis = { enable = true; }; - services.vm = { - enable = true; - hostname = "redis"; - vm_ip = "192.168.1.16"; - macAddr = "02:00:00:00:00:16"; - }; } ]; };