Files
nixos/hosts/vm-jellyfin/default.nix
T
Greg Hellings a78cc50db9 Create jellyfin VM
Update DNS for new Jellyfin box
Update DHCP for new Jellyfin box
Modify Isaiah to work better with VMs
Update pinned packages becaue I derped hard on creating a cyclic
dependency
2024-11-21 23:13:21 -06:00

42 lines
756 B
Nix

{ ... }:
{
imports = [ ];
#boot.loader.grub.devices = [ "/dev/vda" ];
greg = {
proxies."jellyfin.home".target = "http://localhost:8096/";
tailscale.enable = true;
};
fileSystems = {
"/music" = {
device = "10.42.1.4:/volume1/music";
fsType = "nfs";
options = [ "ro" ];
};
"/photo" = {
device = "10.42.1.4:/volume1/photo";
fsType = "nfs";
options = [ "ro" ];
};
"/video" = {
device = "10.42.1.4:/volume1/video/";
fsType = "nfs";
options = [ "ro" ];
};
};
networking = {
hostName = "vm-jellyfin";
domain = "thehellings.lan";
};
services.jellyfin = {
enable = true;
openFirewall = true;
};
virtualisation.diskSize = 100 * 1024;
}