From cbb5c3623badc4a70cfbc0e05a833fdd4b0b4ad5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Barnouin?= Date: Fri, 13 Sep 2024 10:22:22 +0200 Subject: [PATCH] Delete jellyfin service and fix hostname --- flake.nix | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/flake.nix b/flake.nix index a65fa86..a607c67 100644 --- a/flake.nix +++ b/flake.nix @@ -13,7 +13,7 @@ outputs = inputs@{ self, nixpkgs, home-manager, microvm, ... }: let - hostName = "nixos-hypervisor"; + hostName = "nixmox-perseverance"; system = "x86_64-linux"; username = "tbarnouin"; in @@ -37,7 +37,6 @@ microvm = { autostart = [ "nginx" - "jellyfin" "redis" "grafana" "authentik" @@ -47,10 +46,6 @@ flake = self; updateFlake = "git+file:///etc/nixos"; }; - jellyfin = { - flake = self; - updateFlake = "git+file:///etc/nixos"; - }; redis = { flake = self; updateFlake = "git+file:///etc/nixos"; @@ -113,27 +108,6 @@ } ]; }; - jellyfin = nixpkgs.lib.nixosSystem { - inherit system; - modules = [ - microvm.nixosModules.microvm - "${inputs.self}/systems" - "${inputs.self}/services" - { - services.vm_jellyfin = { - enable = true; - }; - services.vm = { - enable = true; - hostname = "jellyfin"; - vm_ip = "192.168.1.42"; - vm_cpu = 6; - vm_mem = 8192; - macAddr = "02:00:00:00:00:42"; - }; - } - ]; - }; grafana = nixpkgs.lib.nixosSystem { inherit system; modules = [