Delete jellyfin service and fix hostname

This commit is contained in:
Théo Barnouin 2024-09-13 10:22:22 +02:00
parent 30f85e7ce6
commit cbb5c3623b

View file

@ -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 = [