Tidy up vm-jellyfin
Get drivers and firmware working for AMD passthru GPU Add jellyfin user to the groups to use card for transcription Update IP address
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
100.90.74.19 jude.home
|
100.90.74.19 jude.home
|
||||||
100.115.57.8 linode.home
|
100.115.57.8 linode.home
|
||||||
100.65.5.38 matrix.home matrix.shire-zebra.ts.net
|
100.65.5.38 matrix.home matrix.shire-zebra.ts.net
|
||||||
100.92.183.94 jellyfin.home
|
100.127.55.22 jellyfin.home
|
||||||
|
|
||||||
# Dev hosts
|
# Dev hosts
|
||||||
10.42.101.1 icdm.lan wiki.icdm.lan *.icdm.lan
|
10.42.101.1 icdm.lan wiki.icdm.lan *.icdm.lan
|
||||||
|
|||||||
@@ -1,15 +1,17 @@
|
|||||||
{ lib, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ./hardware-configuration.nix ];
|
imports = [ ./hardware-configuration.nix ];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader = {
|
boot = {
|
||||||
systemd-boot.enable = true;
|
initrd.kernelModules = [ "amdgpu" ];
|
||||||
efi.canTouchEfiVariables = true;
|
loader = {
|
||||||
|
systemd-boot.enable = true;
|
||||||
|
efi.canTouchEfiVariables = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
greg = {
|
greg = {
|
||||||
home = true;
|
home = true;
|
||||||
proxies."jellyfin.home".target = "http://localhost:8096/";
|
proxies."jellyfin.home".target = "http://localhost:8096/";
|
||||||
@@ -17,6 +19,15 @@
|
|||||||
tailscale.enable = true;
|
tailscale.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
clinfo
|
||||||
|
glxinfo
|
||||||
|
jellyfin-ffmpeg
|
||||||
|
libva-utils
|
||||||
|
radeontop
|
||||||
|
vulkan-tools
|
||||||
|
];
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/music" = {
|
"/music" = {
|
||||||
device = "10.42.1.4:/volume1/music";
|
device = "10.42.1.4:/volume1/music";
|
||||||
@@ -35,8 +46,17 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardware = {
|
||||||
|
enableAllFirmware = true;
|
||||||
|
enableRedistributableFirmware = true;
|
||||||
|
graphics = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "vm-jellyfin";
|
hostName = "vm-jellyfin";
|
||||||
|
firewall.allowedTCPPorts = [ 80 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
@@ -46,4 +66,9 @@
|
|||||||
};
|
};
|
||||||
qemuGuest.enable = true;
|
qemuGuest.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users.users.jellyfin.extraGroups = [
|
||||||
|
"video"
|
||||||
|
"render"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user