2024-11-25 13:57:47 -06:00
|
|
|
{ lib, ... }:
|
2024-11-21 23:13:21 -06:00
|
|
|
|
|
|
|
|
{
|
2025-04-17 22:42:18 -05:00
|
|
|
imports = [ ./hardware-configuration.nix ];
|
|
|
|
|
|
|
|
|
|
# Bootloader.
|
|
|
|
|
boot.loader = {
|
|
|
|
|
systemd-boot.enable = true;
|
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
|
};
|
|
|
|
|
|
2024-11-21 23:13:21 -06:00
|
|
|
|
|
|
|
|
greg = {
|
2025-04-17 22:42:18 -05:00
|
|
|
home = true;
|
2024-11-21 23:13:21 -06:00
|
|
|
proxies."jellyfin.home".target = "http://localhost:8096/";
|
2025-02-18 15:14:17 -06:00
|
|
|
proxies."jellyfin.thehellings.lan".target = "http://localhost:8096/";
|
2024-11-21 23:13:21 -06:00
|
|
|
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";
|
|
|
|
|
};
|
|
|
|
|
|
2024-11-25 13:57:47 -06:00
|
|
|
services = {
|
|
|
|
|
jellyfin = {
|
|
|
|
|
enable = true;
|
|
|
|
|
openFirewall = true;
|
|
|
|
|
};
|
|
|
|
|
qemuGuest.enable = true;
|
2024-11-21 23:13:21 -06:00
|
|
|
};
|
|
|
|
|
}
|