Delete jellyfin service and fix hostname
This commit is contained in:
parent
30f85e7ce6
commit
cbb5c3623b
1 changed files with 1 additions and 27 deletions
28
flake.nix
28
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 = [
|
||||
|
|
Loading…
Reference in a new issue