diff --git a/hosts/swan/default.nix b/hosts/swan/default.nix index fb57441..fd33bde 100644 --- a/hosts/swan/default.nix +++ b/hosts/swan/default.nix @@ -21,8 +21,9 @@ nixpkgs.lib.nixosSystem { boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; + boot.initrd.kernelModules = [ "amdgpu" ]; boot.kernelModules = [ "kvm-intel" ]; + hardware.enableRedistributableFirmware = true; powerManagement.cpuFreqGovernor = "powersave"; hardware.cpu.intel.updateMicrocode = true; diff --git a/modules/nixos/services/jellyfin.nix b/modules/nixos/services/jellyfin.nix index cfa5e38..a16c4f6 100644 --- a/modules/nixos/services/jellyfin.nix +++ b/modules/nixos/services/jellyfin.nix @@ -36,6 +36,7 @@ # Enable VA-API for hardware transcoding hardware.opengl = { enable = true; + driSupport = true; extraPackages = [ pkgs.libva ]; };